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:
d89d037
)
Revert "Power: Add guard condition for maximum wakeup reasons"
author
黄涛
<huangtao@rock-chips.com>
Thu, 24 Apr 2014 10:59:46 +0000
(18:59 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Thu, 24 Apr 2014 10:59:46 +0000
(18:59 +0800)
This reverts commit
77b1737fd63db149914c09117874cde8abac7f04
.
kernel/power/wakeup_reason.c
patch
|
blob
|
history
diff --git
a/kernel/power/wakeup_reason.c
b/kernel/power/wakeup_reason.c
index caf44213b14c18da136b1f03d5a073920f849c4f..82e69fe52d0bd092bbae6e1dc459fada3557f9a4 100644
(file)
--- a/
kernel/power/wakeup_reason.c
+++ b/
kernel/power/wakeup_reason.c
@@
-79,13
+79,6
@@
void log_wakeup_reason(int irq)
printk(KERN_INFO "Resume caused by IRQ %d\n", irq);
spin_lock(&resume_reason_lock);
- if (irq_count == MAX_WAKEUP_REASON_IRQS) {
- spin_unlock(&resume_reason_lock);
- printk(KERN_WARNING "Resume caused by more than %d IRQs\n",
- MAX_WAKEUP_REASON_IRQS);
- return;
- }
-
irq_list[irq_count++] = irq;
spin_unlock(&resume_reason_lock);
}