summaryrefslogtreecommitdiff
path: root/kernel/irq
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2011-01-24 14:36:39 -0800
committerColin Cross <ccross@android.com>2011-06-14 09:09:50 -0700
commit1613ecd0e1282b13559c45a7406ef46b8bd367ef (patch)
tree9f7d52314a970ecb0c18ef93c0066b53f69f0fef /kernel/irq
parentf780a1f78fe3f4a4ce27bf862cb6cf1fb14950f2 (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.c5
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;
}
/*