diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-02-01 20:18:10 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-02-14 19:41:11 +0100 |
commit | 631e3893c35e116d16b81b41bea6ba2143db4fa4 (patch) | |
tree | 4f471f28dd856564cbcc0300dfb4eee3a4cfd064 /drivers/acpi/sleep.c | |
parent | 754e0b0e35608ed5206d6a67a791563c631cec07 (diff) | |
download | lwn-631e3893c35e116d16b81b41bea6ba2143db4fa4.tar.gz lwn-631e3893c35e116d16b81b41bea6ba2143db4fa4.zip |
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>
Diffstat (limited to 'drivers/acpi/sleep.c')
-rw-r--r-- | drivers/acpi/sleep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index d4fbea91ab6b..d068ff42fce4 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c @@ -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); } |