Skip to content

Commit

Permalink
genirq: Set IRQCHIP_SKIP_SET_WAKE flag for dummy_irq_chip
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roger Quadros authored and Thomas Gleixner committed Apr 24, 2015
1 parent 646da63 commit 10a50f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/irq/dummychip.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@ struct irq_chip dummy_irq_chip = {
.irq_ack = noop,
.irq_mask = noop,
.irq_unmask = noop,
.flags = IRQCHIP_SKIP_SET_WAKE,
};
EXPORT_SYMBOL_GPL(dummy_irq_chip);

0 comments on commit 10a50f1

Please sign in to comment.