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>
This commit is contained in:
Родитель
82911fe198
Коммит
7a63f08b2b
|
@ -263,6 +263,7 @@ static int acpi_suspend_enter(suspend_state_t pm_state)
|
||||||
|
|
||||||
case ACPI_STATE_S3:
|
case ACPI_STATE_S3:
|
||||||
do_suspend_lowlevel();
|
do_suspend_lowlevel();
|
||||||
|
pr_info(PREFIX "Low-level resume complete\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -288,8 +289,6 @@ static int acpi_suspend_enter(suspend_state_t pm_state)
|
||||||
/* Allow EC transactions to happen. */
|
/* Allow EC transactions to happen. */
|
||||||
acpi_ec_unblock_transactions_early();
|
acpi_ec_unblock_transactions_early();
|
||||||
|
|
||||||
printk(KERN_DEBUG "Back to C!\n");
|
|
||||||
|
|
||||||
suspend_nvs_restore();
|
suspend_nvs_restore();
|
||||||
|
|
||||||
return ACPI_SUCCESS(status) ? 0 : -EFAULT;
|
return ACPI_SUCCESS(status) ? 0 : -EFAULT;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче