|
@@ -85,15 +85,8 @@ acpi_status acpi_hw_legacy_sleep(u8 sleep_state)
|
|
return_ACPI_STATUS(status);
|
|
return_ACPI_STATUS(status);
|
|
}
|
|
}
|
|
|
|
|
|
- /* Clear all fixed and general purpose status bits */
|
|
|
|
-
|
|
|
|
- status = acpi_hw_clear_acpi_status();
|
|
|
|
- if (ACPI_FAILURE(status)) {
|
|
|
|
- return_ACPI_STATUS(status);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
- * 1) Disable/Clear all GPEs
|
|
|
|
|
|
+ * 1) Disable all GPEs
|
|
* 2) Enable all wakeup GPEs
|
|
* 2) Enable all wakeup GPEs
|
|
*/
|
|
*/
|
|
status = acpi_hw_disable_all_gpes();
|
|
status = acpi_hw_disable_all_gpes();
|
|
@@ -299,7 +292,7 @@ acpi_status acpi_hw_legacy_wake(u8 sleep_state)
|
|
* might get fired there
|
|
* might get fired there
|
|
*
|
|
*
|
|
* Restore the GPEs:
|
|
* Restore the GPEs:
|
|
- * 1) Disable/Clear all GPEs
|
|
|
|
|
|
+ * 1) Disable all GPEs
|
|
* 2) Enable all runtime GPEs
|
|
* 2) Enable all runtime GPEs
|
|
*/
|
|
*/
|
|
status = acpi_hw_disable_all_gpes();
|
|
status = acpi_hw_disable_all_gpes();
|