Commit 29113f2f authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

ACPI: EC: PM: Make acpi_ec_dispatch_gpe() print debug message

Add a pm_pr_dbg() debug statement to acpi_ec_dispatch_gpe() to print
a message when the EC GPE has been dispatched (because its status
was set).
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: default avatarKai-Heng Feng <kai.heng.feng@canonical.com>
parent d7589404
......@@ -1980,7 +1980,11 @@ bool acpi_ec_dispatch_gpe(void)
return false;
ret = acpi_dispatch_gpe(NULL, first_ec->gpe);
return ret == ACPI_INTERRUPT_HANDLED;
if (ret == ACPI_INTERRUPT_HANDLED) {
pm_pr_dbg("EC GPE dispatched\n");
return true;
}
return false;
}
#endif /* CONFIG_PM_SLEEP */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment