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>
Thu, 25 Aug 2022 09:40:08 +0000 (11:40 +0200)
commitbe82dc052155ea6ece50e213c97d20edd117caae
tree07dc8f2b978d3a31fc08614c6f89520aec0b853c
parentc1c7a7c950e690a12460f0c6d3f09e979055af8b
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