diff options
author | Todd Poynor <toddpoynor@google.com> | 2011-10-25 11:35:17 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-10-25 11:35:17 +0800 |
commit | 3c66269197cf63bc9026a53c83b1e7e90fade86f (patch) | |
tree | 51e6b2c35613f44a07a24fae9f4f2580a52ad275 /kernel | |
parent | bcd1c82ffc164a5cdf166b9103bbd97743dfe1b4 (diff) |
Print pending wakeup IRQ preventing suspend to dmesg
Change-Id: I36f90735c75fb7c7ab1084775ec0d0ab02336e6e
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/pm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/irq/pm.c b/kernel/irq/pm.c index f76fc00c987..85c13082b0c 100644 --- a/kernel/irq/pm.c +++ b/kernel/irq/pm.c @@ -70,8 +70,11 @@ 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->name ? desc->name : ""); return -EBUSY; + } continue; } /* |