pinctrl: amd: Fix an issue with shutdown when system set to s0ix
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 9 Aug 2021 20:15:13 +0000 (15:15 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 12 Aug 2021 09:16:40 +0000 (11:16 +0200)
commitc4b68e513953c3370ce02c3208c1c628c0b86fd3
tree07b8f6cc3b0349d47e5df1a20b1329cc5a601425
parent86e5fbcaf75621cc5e817da753fe3ea65f81f413
pinctrl: amd: Fix an issue with shutdown when system set to s0ix

IRQs are getting armed on shutdown causing the system to immediately
wake back up.

Link: https://lkml.org/lkml/2021/8/2/1114
Reported-by: nix.or.die@googlemail.com
Acked-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Tested-by: Gabriel Craciunescu <nix.or.die@gmail.com>
CC: Raul E Rangel <rrangel@chromium.org>
Fixes: d62bd5ce12d7 ("pinctrl: amd: Implement irq_set_wake")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20210809201513.12367-1-mario.limonciello@amd.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-amd.c