summaryrefslogtreecommitdiff
path: root/drivers/acpi/sleep.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-02-08 23:41:57 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2011-02-24 19:58:54 +0100
commit7a63f08b2b904d25e966dd0e15c9af4a13c80b90 (patch)
tree569e6f88905fb0d6f0d32e1b35d0a6692c4eec42 /drivers/acpi/sleep.c
parent82911fe1988fadfc9c01673202cbc411aa803244 (diff)
downloadlwn-7a63f08b2b904d25e966dd0e15c9af4a13c80b90.tar.gz
lwn-7a63f08b2b904d25e966dd0e15c9af4a13c80b90.zip
ACPI / PM: Modify the "low-level resume finished" message
Move the low-level resume completion message to the point where control goes back to acpi_suspend_enter() during resume and change it so that it's more informative. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/acpi/sleep.c')
-rw-r--r--drivers/acpi/sleep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 3b549379801a..6bea2fe8434b 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -263,6 +263,7 @@ static int acpi_suspend_enter(suspend_state_t pm_state)
case ACPI_STATE_S3:
do_suspend_lowlevel();
+ pr_info(PREFIX "Low-level resume complete\n");
break;
}
@@ -288,8 +289,6 @@ static int acpi_suspend_enter(suspend_state_t pm_state)
/* Allow EC transactions to happen. */
acpi_ec_unblock_transactions_early();
- printk(KERN_DEBUG "Back to C!\n");
-
suspend_nvs_restore();
return ACPI_SUCCESS(status) ? 0 : -EFAULT;