diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-05-22 09:58:49 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-05-22 11:06:47 +0200 |
commit | de8d1810fda5463ee60ba2937ca68e55a52bd9e7 (patch) | |
tree | e852d920e4b3cb53c23538f20505151f2ab01d5e /net/ipv4/tcp_input.c | |
parent | e1a96fb861b0781c8ef66a76d0fc6fb6f628f84c (diff) | |
download | lwn-de8d1810fda5463ee60ba2937ca68e55a52bd9e7.tar.gz lwn-de8d1810fda5463ee60ba2937ca68e55a52bd9e7.zip |
genirq: Set IRQCHIP_SKIP_SET_WAKE for no_irq_chip
If no_irq_chip is used for wake up (e.g. gpio-keys with a simple GPIO
controller), the following warning is printed on resume from s2ram:
WANING: CPU: 0 PID: 1046 at kernel/irq/manage.c:537 irq_set_irq_wake+0x9c/0xf8()
Unbalanced IRQ 113 wake disable
This happens because no_irq_chip does not implement
irq_chip.irq_set_wake(), causing set_irq_wake_real() to return -ENXIO,
and irq_set_irq_wake() to reset the wake_depth to zero.
Set IRQCHIP_SKIP_SET_WAKE to indicate that irq_chip.irq_set_wake() is
not implemented.
Cfr. commit 10a50f1ab5f06c9a ("genirq: Set IRQCHIP_SKIP_SET_WAKE flag
for dummy_irq_chip").
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Roger Quadros <rogerq@ti.com>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Link: http://lkml.kernel.org/r/1432281529-23325-1-git-send-email-geert%2Brenesas@glider.be
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions