summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/tegra
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2021-11-01 04:48:53 +0300
committerLinus Walleij <linus.walleij@linaro.org>2021-11-16 04:19:14 +0300
commit2d54067fcd23aae61e23508425ae5b29e973573d (patch)
treef0f64fde59bf3b92eb7f318b2e2e4508d7a2c9ae /drivers/pinctrl/tegra
parente9380df851878cee71df5a1c7611584421527f7e (diff)
downloadlinux-2d54067fcd23aae61e23508425ae5b29e973573d.tar.xz
pinctrl: amd: Fix wakeups when IRQ is shared with SCI
On some Lenovo AMD Gen2 platforms the IRQ for the SCI and pinctrl drivers are shared. Due to how the s2idle loop handling works, this case needs an extra explicit check whether the interrupt was caused by SCI or by the GPIO controller. To fix this rework the existing IRQ handler function to function as a checker and an IRQ handler depending on the calling arguments. BugLink: https://gitlab.freedesktop.org/drm/amd/-/issues/1738 Reported-by: Joerie de Gram <j.de.gram@gmail.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Acked-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com> Link: https://lore.kernel.org/r/20211101014853.6177-2-mario.limonciello@amd.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/tegra')
0 files changed, 0 insertions, 0 deletions