aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2011-01-24 14:36:39 -0800
committerErik Gilling <konkers@android.com>2011-03-30 11:24:47 -0700
commit5e42d525425adc22aca36eaa58549242c667eb05 (patch)
tree507e45aeadef8efdc9cc04ef9ca12e9c4f3e221b
parent72b243d35197559c28a20bd4f393027c8ca4ec3f (diff)
downloadexperimental-5e42d525425adc22aca36eaa58549242c667eb05.tar.gz
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.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;
}
/*