mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
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>
This commit is contained in:
parent
631e3893c3
commit
977dc30822
@ -2081,8 +2081,11 @@ bool acpi_ec_dispatch_gpe(void)
|
||||
*/
|
||||
spin_lock_irq(&first_ec->lock);
|
||||
|
||||
if (acpi_ec_gpe_status_set(first_ec))
|
||||
if (acpi_ec_gpe_status_set(first_ec)) {
|
||||
pm_pr_dbg("ACPI EC GPE status set\n");
|
||||
|
||||
work_in_progress = advance_transaction(first_ec, false);
|
||||
}
|
||||
|
||||
spin_unlock_irq(&first_ec->lock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user