summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/hardware/hwsleep.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2008-02-05 19:27:12 +0100
committerLen Brown <len.brown@intel.com>2008-02-07 07:27:17 +0100
commit23b168d425ca0ca25257ff8205a39f1c2d1b0f27 (patch)
treedb8849f78280ba6441306368ea5838d848123683 /drivers/acpi/hardware/hwsleep.c
parentACPI: acpi_pci_irq_find_prt_entry(): use list_for_each_entry() instead of lis... (diff)
downloadlinux-23b168d425ca0ca25257ff8205a39f1c2d1b0f27.tar.xz
linux-23b168d425ca0ca25257ff8205a39f1c2d1b0f27.zip
PM: documentation cleanups
Signed-off-by: Pavel Machek <pavel@suse.cz> Acked-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/hardware/hwsleep.c')
-rw-r--r--drivers/acpi/hardware/hwsleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/hardware/hwsleep.c b/drivers/acpi/hardware/hwsleep.c
index fd1c4ba63367..058d0be5cbe2 100644
--- a/drivers/acpi/hardware/hwsleep.c
+++ b/drivers/acpi/hardware/hwsleep.c
@@ -286,13 +286,13 @@ acpi_status asmlinkage acpi_enter_sleep_state(u8 sleep_state)
}
/*
+ * 1) Disable/Clear all GPEs
* 2) Enable all wakeup GPEs
*/
status = acpi_hw_disable_all_gpes();
if (ACPI_FAILURE(status)) {
return_ACPI_STATUS(status);
}
-
acpi_gbl_system_awake_and_running = FALSE;
status = acpi_hw_enable_all_wakeup_gpes();