remarkable-linux/drivers/acpi
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
..
dispatcher acpi: fix integer as NULL pointer warning 2008-05-23 08:11:06 -07:00
events Merge branches 'release', 'acpica', 'bugzilla-10224', 'bugzilla-9772', 'bugzilla-9916', 'ec', 'eeepc', 'idle', 'misc', 'pm-legacy', 'sysfs-links-2.6.26', 'thermal', 'thinkpad' and 'video' into release 2008-04-30 13:58:00 -04:00
executer acpi: fix integer as NULL pointer warning 2008-05-23 08:11:06 -07:00
hardware ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
namespace ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
parser ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
resources ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
sleep ACPI: Introduce acpi_device_sleep_wake function 2008-07-07 16:25:57 -07:00
tables ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
utilities Merge branches 'release', 'acpica', 'bugzilla-10224', 'bugzilla-9772', 'bugzilla-9916', 'ec', 'eeepc', 'idle', 'misc', 'pm-legacy', 'sysfs-links-2.6.26', 'thermal', 'thinkpad' and 'video' into release 2008-04-30 13:58:00 -04:00
ac.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
acpi_memhotplug.c
asus_acpi.c
battery.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
bay.c #if 0 acpi/bay.c:eject_removable_drive() 2008-04-29 10:09:52 -04:00
blacklist.c
bus.c ACPI: Introduce acpi_bus_power_manageable function 2008-07-07 16:25:02 -07:00
button.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
cm_sbs.c
container.c
debug.c
dock.c
ec.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2008-04-30 11:52:52 -07:00
event.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
fan.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2008-04-30 11:52:52 -07:00
glue.c
Kconfig PCI: ACPI PCI slot detection driver 2008-06-10 14:37:14 -07:00
Makefile PCI: ACPI PCI slot detection driver 2008-06-10 14:37:14 -07:00
numa.c
osl.c flush kacpi_notify_wq before removing notify handler 2008-04-29 02:34:42 -04:00
pci_bind.c
pci_irq.c
pci_link.c
pci_root.c
pci_slot.c PCI: ACPI PCI slot detection driver 2008-06-10 14:37:14 -07:00
power.c ACPI: Introduce acpi_device_sleep_wake function 2008-07-07 16:25:57 -07:00
processor_core.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2008-04-30 11:52:52 -07:00
processor_idle.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2008-04-30 11:52:52 -07:00
processor_perflib.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
processor_thermal.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
processor_throttling.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
sbs.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
sbshc.c
sbshc.h
scan.c ACPI: Introduce acpi_device_sleep_wake function 2008-07-07 16:25:57 -07:00
system.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
tables.c
thermal.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2008-04-30 11:52:52 -07:00
toshiba_acpi.c
utils.c ACPICA: Fixes for external Reference Objects 2008-04-22 19:08:51 -04:00
video.c Fix ACPI vs proc_create_data() mismerge 2008-04-30 16:26:27 -07:00
wmi.c