linux/drivers/acpi/sleep
Rafael J. Wysocki 77e766099e ACPI: Introduce acpi_device_sleep_wake function
The currect ACPI code attempts to execute _PSW at three different
places and in one of them only it tries to execute _DSW before _PSW,
which is inconsistent with the other two cases.

Move the execution of _DSW and _PSW into a separate function called
acpi_device_sleep_wake() and call it wherever appropriate instead of
executing _DSW and/or _PSW directly.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2008-07-07 16:25:57 -07: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
main.c Suspend-related patches for 2.6.27 2008-06-12 14:25:09 -07:00
proc.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
sleep.h ACPI: Print message before calling _PTS 2008-02-01 18:30:58 -05:00
wakeup.c ACPI: Introduce acpi_device_sleep_wake function 2008-07-07 16:25:57 -07:00