summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2022-10-12 22:50:17 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-03 23:52:31 +0900
commitd7758c23a6e1938458243fb5c4b5230352a89db8 (patch)
treef4488f5bf95ddb4ffbee9a4ceb40b1801ea7817b /include/uapi
parent83a2e465f58ac66a19c24c6550d5144ba7659e17 (diff)
PM: hibernate: Allow hybrid sleep to work with s2idle
[ Upstream commit 85850af4fc47132f3f2f0dd698b90f67906600b4 ] Hybrid sleep is currently hardcoded to only operate with S3 even on systems that might not support it. Instead of assuming this mode is what the user wants to use, for hybrid sleep follow the setting of `mem_sleep_current` which will respect mem_sleep_default kernel command line and policy decisions made by the presence of the FADT low power idle bit. Fixes: 81d45bdf8913 ("PM / hibernate: Untangle power_down()") Reported-and-tested-by: kolAflash <kolAflash@kolahilft.de> Link: https://bugzilla.kernel.org/show_bug.cgi?id=216574 Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions