aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/hwsleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/hwsleep.c')
-rw-r--r--drivers/acpi/acpica/hwsleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/hwsleep.c b/drivers/acpi/acpica/hwsleep.c
index 26e249e69ead..677ccb6bceea 100644
--- a/drivers/acpi/acpica/hwsleep.c
+++ b/drivers/acpi/acpica/hwsleep.c
@@ -365,7 +365,7 @@ acpi_status asmlinkage acpi_enter_sleep_state(u8 sleep_state)
365 /* Wait until we enter sleep state */ 365 /* Wait until we enter sleep state */
366 366
367 do { 367 do {
368 status = acpi_get_register_unlocked(ACPI_BITREG_WAKE_STATUS, 368 status = acpi_get_register(ACPI_BITREG_WAKE_STATUS,
369 &in_value); 369 &in_value);
370 if (ACPI_FAILURE(status)) { 370 if (ACPI_FAILURE(status)) {
371 return_ACPI_STATUS(status); 371 return_ACPI_STATUS(status);