Skip to content

Commit 10a50f1

Browse files
Roger QuadrosKAGA-KOKO
authored andcommitted
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: Roger 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.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent 646da63 commit 10a50f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/irq/dummychip.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,6 @@ struct irq_chip dummy_irq_chip = {
5757
.irq_ack = noop,
5858
.irq_mask = noop,
5959
.irq_unmask = noop,
60+
.flags = IRQCHIP_SKIP_SET_WAKE,
6061
};
6162
EXPORT_SYMBOL_GPL(dummy_irq_chip);

0 commit comments

Comments
 (0)