mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-02 17:26:42 +09:00
Merge tag 'pm-5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull power management fix from Rafael Wysocki: "Fix a recent regression preventing some systems from powering off after saving a hibernation image (Dmitry Osipenko)" * tag 'pm-5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: PM: hibernate: Use kernel_can_power_off()
This commit is contained in:
@@ -665,7 +665,7 @@ static void power_down(void)
|
||||
hibernation_platform_enter();
|
||||
fallthrough;
|
||||
case HIBERNATION_SHUTDOWN:
|
||||
if (pm_power_off)
|
||||
if (kernel_can_power_off())
|
||||
kernel_power_off();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user