projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
700df3b
)
Print pending wakeup IRQ preventing suspend to dmesg
author
Todd Poynor
<toddpoynor@google.com>
Mon, 24 Jan 2011 22:36:39 +0000
(14:36 -0800)
committer
Todd Poynor
<toddpoynor@google.com>
Mon, 24 Jan 2011 22:38:45 +0000
(14:38 -0800)
Change-Id: I36f90735c75fb7c7ab1084775ec0d0ab02336e6e
Signed-off-by: Todd Poynor <toddpoynor@google.com>
kernel/irq/pm.c
patch
|
blob
|
history
diff --git
a/kernel/irq/pm.c
b/kernel/irq/pm.c
index 0d4005d85b03243746f6c45d54cf1600bc3e5acf..1df62ef4713bfb2b95f926a0f23adc4f386bcd07 100644
(file)
--- a/
kernel/irq/pm.c
+++ b/
kernel/irq/pm.c
@@
-72,8
+72,12
@@
int check_wakeup_irqs(void)
int irq;
for_each_irq_desc(irq, desc)
- if ((desc->status & IRQ_WAKEUP) && (desc->status & IRQ_PENDING))
+ if ((desc->status & IRQ_WAKEUP) &&
+ (desc->status & IRQ_PENDING)) {
+ pr_info("Wakeup IRQ %d %s pending, suspend aborted\n",
+ irq, desc->name ? desc->name : "");
return -EBUSY;
+ }
return 0;
}