PM: Fix printing IRQ names for pending wakeup IRQs

The IRQ name has moved to the struct irqaction list (so print
first action's name).

Change-Id: I65a627457f9abaf7c1dcc32d8814243ba2ff4717
Signed-off-by: Todd Poynor <toddpoynor@google.com>
This commit is contained in:
Todd Poynor
2011-07-25 14:54:03 -07:00
parent 8c59c45bc5
commit 68cd235dda

View File

@@ -72,7 +72,9 @@ int check_wakeup_irqs(void)
if (irqd_is_wakeup_set(&desc->irq_data)) {
if (desc->istate & IRQS_PENDING) {
pr_info("Wakeup IRQ %d %s pending, suspend aborted\n",
irq, desc->name ? desc->name : "");
irq,
desc->action && desc->action->name ?
desc->action->name : "");
return -EBUSY;
}
continue;