diff options
author | Todd Poynor <toddpoynor@google.com> | 2011-12-02 14:04:45 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-12-02 14:04:45 +0800 |
commit | ade914067518ad7b5760415a8bd28618367352f7 (patch) | |
tree | 2357d39e2e71cda214b258cfef3263eb20f5326c | |
parent | 5126a80cb56d90143dd5b2c78df436432f39c655 (diff) |
Print pending wakeup IRQ preventing suspend to dmesg
Change-Id: I36f90735c75fb7c7ab1084775ec0d0ab02336e6e
Signed-off-by: Todd Poynor <toddpoynor@google.com>
-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 15e53b1766a..1f455f36fba 100644 --- a/kernel/irq/pm.c +++ b/kernel/irq/pm.c @@ -104,8 +104,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; } /* |