pinctrl: intel: Restore the pins that used to be in Direct IRQ mode
stable inclusion from stable-v5.10.168 commit bbc850904457567e5e3bf431e38dd039742887aa category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7URR4 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bbc850904457567e5e3bf431e38dd039742887aa ---------------------------------------------------- [ Upstream commit a8520be3 ] If the firmware mangled the register contents too much, check the saved value for the Direct IRQ mode. If it matches, we will restore the pin state. Reported-by:Jim Minter <jimminter@microsoft.com> Fixes: 6989ea48 ("pinctrl: intel: Save and restore pins in "direct IRQ" mode") Tested-by:
Jim Minter <jimminter@microsoft.com> Signed-off-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by:
Mika Westerberg <mika.westerberg@linux.intel.com> Link: https://lore.kernel.org/r/20230206141558.20916-1-andriy.shevchenko@linux.intel.com Signed-off-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
zhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
Loading
Please sign in to comment