]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: Clear WAK_STS on resume
authorMatthew Garrett <mjg59@srcf.ucam.org>
Wed, 6 Aug 2008 18:12:04 +0000 (19:12 +0100)
committerLen Brown <len.brown@intel.com>
Thu, 16 Oct 2008 18:17:06 +0000 (14:17 -0400)
commita68823ee5285e65b51ceb96f8b13a5b4f99a6888
tree95ac0c8d54b0a358efb1dee9f9a0478a09657075
parent3fa8749e584b55f1180411ab1b51117190bac1e5
ACPI: Clear WAK_STS on resume

The leading other brand OS appears to clear the WAK_STS flag on resume.
When rebooted, certain BIOSes assume that the system is actually
resuming if it's still set and so fail to reboot correctly. Make sure
that it's cleared at resume time.

Comment clarified as suggested by Bob Moore

http://bugzilla.kernel.org/show_bug.cgi?id=11634

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Tested-by: Romano Giannetti <romano.giannetti@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/hardware/hwsleep.c