diff options
| author | Rafael J. Wysocki <[email protected]> | 2025-04-30 18:27:41 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-05-13 11:45:19 +0000 |
| commit | dc918c34e2ac8663969e9cf74be3577220697105 (patch) | |
| tree | 30c874322f36f96d35d31bda17f296f92a4b4a65 /rust/helpers/platform.c | |
| parent | pinctrl: amd: Fix use of undeclared identifier 'pinctrl_amd_s2idle_dev_ops' (diff) | |
| download | kernel-dc918c34e2ac8663969e9cf74be3577220697105.tar.gz kernel-dc918c34e2ac8663969e9cf74be3577220697105.zip | |
pinctrl: amd: Fix hibernation support with CONFIG_SUSPEND unset
After recent changes, pinctrl-amd will not support hibernation when
CONFIG_HIBERNATION is set and CONFIG_SUSPEND isn't because it will not
register amd_gpio_pm_ops then.
Address this by restoring dependencies on CONFIG_PM_SLEEP where
necessary for hibernation support.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Reviewed-by: Mario Limonciello <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
