android_kernel_xiaomi_sm8350/drivers/acpi
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
..
dispatcher [ACPI] delete Warning: Encountered executable code at module level, [AE_NOT_CONFIGURED] 2005-08-03 23:22:10 -04:00
events ACPICA 20050408 from Bob Moore 2005-07-12 00:08:52 -04:00
executer ACPICA 20050408 from Bob Moore 2005-07-12 00:08:52 -04:00
hardware ACPICA 20050408 from Bob Moore 2005-07-12 00:08:52 -04:00
namespace [ACPI] fix merge error that broke CONFIG_ACPI_DEBUG=y build 2005-07-12 00:12:09 -04:00
parser ACPICA 20050408 from Bob Moore 2005-07-12 00:08:52 -04:00
resources ACPICA 20050408 from Bob Moore 2005-07-12 00:08:52 -04:00
sleep [PATCH] acpi_shutdown: Only prepare for power off on power_off 2005-08-27 10:11:40 -07:00
tables ACPICA 20050408 from Bob Moore 2005-07-12 00:08:52 -04:00
utilities ACPICA 20050408 from Bob Moore 2005-07-12 00:08:52 -04:00
ac.c
acpi_memhotplug.c
asus_acpi.c
battery.c
blacklist.c
bus.c [ACPI] pci_set_power_state() now calls 2005-07-11 23:47:06 -04:00
button.c [ACPI] restore /proc/acpi/button/ (ala 2.6.12) 2005-08-03 17:57:24 -04:00
container.c
debug.c
ec.c [ACPI] revert Embedded Controller to polling-mode by default (ala 2.6.12) 2005-08-03 17:40:43 -04:00
event.c
fan.c
glue.c [ACPI] quiet dmesg related to ACPI PM of PCI devices 2005-07-12 00:09:42 -04:00
hotkey.c [ACPI] CONFIG_ACPI_HOTKEY is now "n" by default 2005-08-03 18:11:22 -04:00
ibm_acpi.c
Kconfig /home/lenb/src/to-linus branch 'acpi-2.6.12' 2005-08-03 18:15:15 -04:00
Makefile
motherboard.c Revert PCIBIOS_MIN_IO changes for 2.6.13 2005-08-14 18:21:30 -07:00
numa.c
osl.c Merge ../to-linus-stable/ 2005-08-15 15:49:00 -04:00
pci_bind.c
pci_irq.c /home/lenb/src/to-linus branch 'acpi-2.6.12' 2005-07-29 23:31:17 -04:00
pci_link.c [ACPI] S3 resume: avoid kmalloc() might_sleep oops symptom 2005-08-03 23:50:36 -04:00
pci_root.c
power.c
processor_core.c [ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc... 2005-07-12 17:21:56 -04:00
processor_idle.c /home/lenb/src/to-linus branch 'acpi-2.6.12' 2005-08-03 18:15:15 -04:00
processor_perflib.c [ACPI] enable C2 and C3 idle power states on SMP 2005-07-12 00:14:36 -04:00
processor_thermal.c
processor_throttling.c
scan.c [ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc... 2005-07-12 17:21:56 -04:00
system.c
tables.c
thermal.c
toshiba_acpi.c [ACPI] check for kmalloc failure in toshiba_acpi.c 2005-07-11 23:57:35 -04:00
utils.c
video.c [ACPI] fix kmalloc size bug in acpi/video.c 2005-07-11 23:58:45 -04:00