pinctrl: amd: Don't save/restore interrupt status and wake status bits
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>
Mon, 13 Jun 2022 06:41:26 +0000 (12:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Sep 2022 08:25:02 +0000 (10:25 +0200)
commitd85f14a43f63360bc2cb741f6ad47bc6002381d6
treefc2bbe97d74730a6ccb68eca7fd7608aee418a99
parent8af84a31769e10970b73b613c15c31ff91bee3d2
pinctrl: amd: Don't save/restore interrupt status and wake status bits

commit b8c824a869f220c6b46df724f85794349bafbf23 upstream.

Saving/restoring interrupt and wake status bits across suspend can
cause the suspend to fail if an IRQ is serviced across the
suspend cycle.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Fixes: 79d2c8bede2c ("pinctrl/amd: save pin registers over suspend/resume")
Link: https://lore.kernel.org/r/20220613064127.220416-3-Basavaraj.Natikar@amd.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/pinctrl-amd.c