Skip to content

Commit

Permalink
ACPI: PM: Print additional debug message in acpi_s2idle_wake()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rafael J. Wysocki committed Feb 14, 2022
1 parent 754e0b0 commit 631e389
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/acpi/sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 631e389

Please sign in to comment.