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 01:27:17 -0500
commit23b168d425ca0ca25257ff8205a39f1c2d1b0f27 (patch)
treedb8849f78280ba6441306368ea5838d848123683 /drivers/acpi/hardware/hwsleep.c
parent1a3b77ae60f19fa85f4cdc34b6c09efb1a18372c (diff)
downloadop-kernel-dev-23b168d425ca0ca25257ff8205a39f1c2d1b0f27.zip
op-kernel-dev-23b168d425ca0ca25257ff8205a39f1c2d1b0f27.tar.gz
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 fd1c4ba..058d0be 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();
OpenPOWER on IntegriCloud