Skip to content

Commit 977dc30

Browse files
committed
ACPI: EC / PM: Print additional debug message in acpi_ec_dispatch_gpe()
Make acpi_ec_dispatch_gpe() print an additional debug message after seeing the EC GPE status bit set to help diagnose wakeup-related issues. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 631e389 commit 977dc30

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

drivers/acpi/ec.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2081,8 +2081,11 @@ bool acpi_ec_dispatch_gpe(void)
20812081
*/
20822082
spin_lock_irq(&first_ec->lock);
20832083

2084-
if (acpi_ec_gpe_status_set(first_ec))
2084+
if (acpi_ec_gpe_status_set(first_ec)) {
2085+
pm_pr_dbg("ACPI EC GPE status set\n");
2086+
20852087
work_in_progress = advance_transaction(first_ec, false);
2088+
}
20862089

20872090
spin_unlock_irq(&first_ec->lock);
20882091

0 commit comments

Comments
 (0)