Commit 10a50f1a authored by Roger Quadros's avatar Roger Quadros Committed by Thomas Gleixner

genirq: Set IRQCHIP_SKIP_SET_WAKE flag for dummy_irq_chip

Without this system suspend is broken on systems that have
drivers calling enable/disable_irq_wake() for interrupts based off
the dummy irq hook. (e.g. drivers/gpio/gpio-pcf857x.c)
Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
Cc: <cw00.choi@samsung.com>
Cc: <balbi@ti.com>
Cc: <tony@atomide.com>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Link: http://lkml.kernel.org/r/552E1DD3.4040106@ti.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 646da631
...@@ -57,5 +57,6 @@ struct irq_chip dummy_irq_chip = { ...@@ -57,5 +57,6 @@ struct irq_chip dummy_irq_chip = {
.irq_ack = noop, .irq_ack = noop,
.irq_mask = noop, .irq_mask = noop,
.irq_unmask = noop, .irq_unmask = noop,
.flags = IRQCHIP_SKIP_SET_WAKE,
}; };
EXPORT_SYMBOL_GPL(dummy_irq_chip); EXPORT_SYMBOL_GPL(dummy_irq_chip);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment