diff options
author | Mario Limonciello <[email protected]> | 2023-12-02 21:24:31 -0600 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2023-12-04 15:46:02 +0100 |
commit | 2fff0b5e1a6b9c577b4dd4958902c877159c856b (patch) | |
tree | 334cb0a9f4d79f803392e36b2a8b381efdf0b045 /lib/netdev-notifier-error-inject.c | |
parent | 5c584f175d32f9cc66c909f851cd905da58b39ea (diff) |
pinctrl: amd: Mask non-wake source pins with interrupt enabled at suspend
If a pin isn't marked as a wake source processing any interrupts is
just going to destroy battery life. The APU may wake up from a hardware
sleep state to process the interrupt but not return control to the OS.
Mask interrupt for all non-wake source pins at suspend. They'll be
re-enabled at resume.
Reported-and-tested-by: Marcus Aram <[email protected]>
Reported-and-tested-by: Mark Herbert <[email protected]>
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2812
Signed-off-by: Mario Limonciello <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions