diff options
author | Todd Poynor <toddpoynor@google.com> | 2011-01-24 14:36:39 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:38:27 -0800 |
commit | 101fca7c95b1c1e7d58148784ed7dd70b5c5cc02 (patch) | |
tree | a77407066d8d213db964b1d6a79edc3559ab500f /kernel/irq | |
parent | bd843b018b3293353498ffca12739086364a1285 (diff) |
Print pending wakeup IRQ preventing suspend to dmesg
Change-Id: I36f90735c75fb7c7ab1084775ec0d0ab02336e6e
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'kernel/irq')
-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 15e53b1766a6..1f455f36fba3 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; } /* |