]> err.no Git - linux-2.6/commit
ACPI: Hibernate erroneously disabled Suspend wakeup devices
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Wed, 26 Sep 2007 15:47:30 +0000 (19:47 +0400)
committerLen Brown <len.brown@intel.com>
Thu, 27 Sep 2007 19:47:44 +0000 (15:47 -0400)
commit9b039330808b83acac3597535da26f47ad1862ce
tree78933d5c925048f204c3d5ff6c0a0aa1aced8e84
parentff0ce6845bc18292e80ea40d11c3d3a539a3fc5e
ACPI: Hibernate erroneously disabled Suspend wakeup devices

S4 suspend to disk will disable GPE's permanently
because acpi_gpe_sleep_prepare() does not have
a counterpart at resume time.  Thus, those devices
became unavailable for wakeup from subsequent
S3 suspend-to-ram.

Here acpi_gpe_sleep_prepare() is removed, and upon suspend
acpi_enable_wakeup_device() gets its functionality.
Upon resume, acpi_disable_wakeup_device() restores the state.

https://bugzilla.novell.com/show_bug.cgi?id=292300

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/sleep/main.c
drivers/acpi/sleep/sleep.h
drivers/acpi/sleep/wakeup.c
include/acpi/acpi_bus.h