android_kernel_xiaomi_sm7250/drivers/acpi/sleep
Rafael J. Wysocki 60417f5976 ACPI suspend: Call _PTS before suspending devices
The ACPI 1.0 specification wants us to put devices into low power
states after executing the _PTS global control method, while ACPI
2.0 and later want us to do that in the reverse order.  The current
suspend code follows ACPI 2.0 in that respect which causes some
ACPI 1.0x systems to hang during suspend (ref.
http://bugzilla.kernel.org/show_bug.cgi?id=9528).

Make the suspend code execute _PTS before putting devices into low
power states (ie. in accordance with ACPI 1.0x) and provide a command
line option to override the default if need be.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-02-01 18:30:58 -05:00
..
main.c ACPI suspend: Call _PTS before suspending devices 2008-02-01 18:30:58 -05:00
Makefile ACPI: CONFIG_ACPI_SLEEP=n power off regression in 2.6.23-rc8 (NOT in rc7) 2007-09-25 17:58:52 -04:00
proc.c Fix /proc/acpi/alarm BCD alarm encodings 2007-10-25 15:08:03 -07:00
sleep.h ACPI: Hibernate erroneously disabled Suspend wakeup devices 2007-09-27 15:47:44 -04:00
wakeup.c ACPI: Hibernate erroneously disabled Suspend wakeup devices 2007-09-27 15:47:44 -04:00