mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 03:50:24 +09:00
PM: Print pending wakeup IRQ preventing suspend to dmesg
Prints the name of the first action for a pending wakeup IRQ. Change-Id: I36f90735c75fb7c7ab1084775ec0d0ab02336e6e Signed-off-by: Todd Poynor <toddpoynor@google.com>
This commit is contained in:
@@ -104,8 +104,13 @@ int check_wakeup_irqs(void)
|
||||
|
||||
for_each_irq_desc(irq, desc) {
|
||||
if (irqd_is_wakeup_set(&desc->irq_data)) {
|
||||
if (desc->istate & IRQS_PENDING)
|
||||
if (desc->istate & IRQS_PENDING) {
|
||||
pr_info("Wakeup IRQ %d %s pending, suspend aborted\n",
|
||||
irq,
|
||||
desc->action && desc->action->name ?
|
||||
desc->action->name : "");
|
||||
return -EBUSY;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user