diff options
author | Dmitry Osipenko <[email protected]> | 2022-06-17 15:24:02 +0300 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2022-06-21 20:57:30 +0200 |
commit | 202773260023b56e868d09d13d3a417028f1ff5b (patch) | |
tree | 8a4ad11a6df42587b35d3650a55faddf240e3632 /scripts/gdb/linux/dmesg.py | |
parent | a111daf0c53ae91e71fd2bfe7497862d14132e3e (diff) |
PM: hibernate: Use kernel_can_power_off()
Use new kernel_can_power_off() API instead of legacy pm_power_off global
variable to fix regressed hibernation to disk where machine no longer
powers off when it should because ACPI power driver transitioned to the
new sys-off based API and it doesn't use pm_power_off anymore.
Fixes: 98f30d0ecf79 ("ACPI: power: Switch to sys-off handler API")
Tested-by: Ken Moffat <[email protected]>
Reported-by: Ken Moffat <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions