summaryrefslogtreecommitdiffstats
path: root/kernel/irq/dummychip.c
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2015-04-15 10:14:11 +0200
committerThomas Gleixner <tglx@linutronix.de>2015-04-24 20:57:06 +0200
commit10a50f1ab5f06c9a3ee5ece3ec52e607ed53c79f (patch)
treea47c339222f2c5a6ce40141f27c2691bca047e53 /kernel/irq/dummychip.c
parentMerge tag 'remoteproc-4.1-next' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadlinux-10a50f1ab5f06c9a3ee5ece3ec52e607ed53c79f.tar.xz
linux-10a50f1ab5f06c9a3ee5ece3ec52e607ed53c79f.zip
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>
Diffstat (limited to 'kernel/irq/dummychip.c')
-rw-r--r--kernel/irq/dummychip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/dummychip.c b/kernel/irq/dummychip.c
index 988dc58e8847..2feb6feca0cc 100644
--- a/kernel/irq/dummychip.c
+++ b/kernel/irq/dummychip.c
@@ -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);