diff options
author | Len Brown <len.brown@intel.com> | 2007-03-20 11:05:41 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-03-20 11:05:41 -0400 |
commit | 54b8c39fbd76a7341b66e49de677ea366737fce7 (patch) | |
tree | 2a355e5daa966548034fe30f71fb9d9cc70403cf /drivers/acpi/hardware/hwsleep.c | |
parent | 0a14fe6e5efd0af0f9c6c01e0433445d615d0110 (diff) | |
parent | 0cd4554df0c261f7ba74786e471ccaa0e3725fb9 (diff) |
Pull misc-for-upstream into release branch
Diffstat (limited to 'drivers/acpi/hardware/hwsleep.c')
-rw-r--r-- | drivers/acpi/hardware/hwsleep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/acpi/hardware/hwsleep.c b/drivers/acpi/hardware/hwsleep.c index 8fa93125fd4c..c84b1faba28c 100644 --- a/drivers/acpi/hardware/hwsleep.c +++ b/drivers/acpi/hardware/hwsleep.c | |||
@@ -300,6 +300,11 @@ acpi_status asmlinkage acpi_enter_sleep_state(u8 sleep_state) | |||
300 | /* | 300 | /* |
301 | * 2) Enable all wakeup GPEs | 301 | * 2) Enable all wakeup GPEs |
302 | */ | 302 | */ |
303 | status = acpi_hw_disable_all_gpes(); | ||
304 | if (ACPI_FAILURE(status)) { | ||
305 | return_ACPI_STATUS(status); | ||
306 | } | ||
307 | |||
303 | acpi_gbl_system_awake_and_running = FALSE; | 308 | acpi_gbl_system_awake_and_running = FALSE; |
304 | 309 | ||
305 | status = acpi_hw_enable_all_wakeup_gpes(); | 310 | status = acpi_hw_enable_all_wakeup_gpes(); |