diff options
Diffstat (limited to 'drivers/acpi/hardware')
-rw-r--r-- | drivers/acpi/hardware/hwsleep.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/acpi/hardware/hwsleep.c b/drivers/acpi/hardware/hwsleep.c index dba3cfbe8cba..130a44b79687 100644 --- a/drivers/acpi/hardware/hwsleep.c +++ b/drivers/acpi/hardware/hwsleep.c | |||
@@ -627,6 +627,13 @@ acpi_status acpi_leave_sleep_state(u8 sleep_state) | |||
627 | } | 627 | } |
628 | /* TBD: _WAK "sometimes" returns stuff - do we want to look at it? */ | 628 | /* TBD: _WAK "sometimes" returns stuff - do we want to look at it? */ |
629 | 629 | ||
630 | /* | ||
631 | * Some BIOSes assume that WAK_STS will be cleared on resume and use | ||
632 | * it to determine whether the system is rebooting or resuming. Clear | ||
633 | * it for compatibility. | ||
634 | */ | ||
635 | acpi_set_register(ACPI_BITREG_WAKE_STATUS, 1); | ||
636 | |||
630 | acpi_gbl_system_awake_and_running = TRUE; | 637 | acpi_gbl_system_awake_and_running = TRUE; |
631 | 638 | ||
632 | /* Enable power button */ | 639 | /* Enable power button */ |