diff options
author | Todd Poynor <toddpoynor@google.com> | 2011-01-24 14:36:39 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-06-14 09:09:50 -0700 |
commit | 1613ecd0e1282b13559c45a7406ef46b8bd367ef (patch) | |
tree | 9f7d52314a970ecb0c18ef93c0066b53f69f0fef /kernel/irq | |
parent | f780a1f78fe3f4a4ce27bf862cb6cf1fb14950f2 (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 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; } /* |