From: Alexey Starikovskiy Date: Wed, 26 Sep 2007 15:47:30 +0000 (+0400) Subject: ACPI: Hibernate erroneously disabled Suspend wakeup devices X-Git-Tag: v2.6.24-rc1~135^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b039330808b83acac3597535da26f47ad1862ce;p=pandora-kernel.git 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 Acked-by: Pavel Machek Signed-off-by: Len Brown --- Reading git-diff-tree failed