ACPI: PM: Print additional debug message in acpi_s2idle_wake()

Make acpi_s2idle_wake() print an additional debug message when the
SCI is going to be rearmed for system wakeup to help diagnose
wakeup-related issues.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Rafael J. Wysocki 2022-02-01 20:18:10 +01:00
parent 754e0b0e35
commit 631e3893c3

View File

@ -758,6 +758,8 @@ bool acpi_s2idle_wake(void)
return true;
}
pm_pr_dbg("Rearming ACPI SCI for wakeup\n");
pm_wakeup_clear(acpi_sci_irq);
rearm_wake_irq(acpi_sci_irq);
}