aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2025-04-07 18:36:56 +0000
committerRafael J. Wysocki <[email protected]>2025-04-09 14:10:37 +0000
commit179db1909c5c4b5300cce626507b0f843f7d2cc2 (patch)
tree6247704c3c12567d9663a6e36e5b1de296d35b39 /rust/helpers/platform.c
parentACPI: Add missing prototype for non CONFIG_SUSPEND/CONFIG_X86 case (diff)
downloadkernel-179db1909c5c4b5300cce626507b0f843f7d2cc2.tar.gz
kernel-179db1909c5c4b5300cce626507b0f843f7d2cc2.zip
pinctrl: amd: Add an LPS0 check() callback
During suspend the pinctrl_amd driver disables the interrupts for any GPIOs that are not marked as wake sources. This however does not prevent them from changing the wake status bit during suspend, it just stops the system from waking. If the system wakes from hardware sleep for another reason (such as plugging in the AC adapter) this wake bits might be active. This could potentially cause problems with going back to hardware sleep. Add an extra debugging message when PM debugging is enabled to help identify if this is happening. Acked-by: Linus Walleij <[email protected]> Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3929 Signed-off-by: Mario Limonciello <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions