lkml.org 
[lkml]   [2011]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/6] ACPI / PM: Modify the "low-level resume finished" message
Date
From: Rafael J. Wysocki <rjw@sisk.pl>

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>
---
drivers/acpi/sleep.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

Index: linux-2.6/drivers/acpi/sleep.c
===================================================================
--- linux-2.6.orig/drivers/acpi/sleep.c
+++ linux-2.6/drivers/acpi/sleep.c
@@ -263,6 +263,7 @@ static int acpi_suspend_enter(suspend_st

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_st
/* 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;


\
 
 \ /
  Last update: 2011-02-07 23:27    [W:0.114 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site