android_kernel_xiaomi_sm8350/drivers/acpi/sleep
Eric W. Biederman 8dbddf1782 [PATCH] acpi_shutdown: Only prepare for power off on power_off
When acpi_sleep_prepare was moved into a shutdown method we
started calling it for all shutdowns.

It appears this triggers some systems to power off on reboot.

Avoid this by only calling acpi_sleep_prepare if we are going to power
off the system.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-27 10:11:40 -07:00
..
main.c [ACPI] ACPI poweroff fix 2005-07-11 23:20:49 -04:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
poweroff.c [PATCH] acpi_shutdown: Only prepare for power off on power_off 2005-08-27 10:11:40 -07:00
proc.c [ACPI] Deprecate /proc/acpi/sleep in favor of /sys/power/state 2005-07-12 00:05:03 -04:00
sleep.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wakeup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00