irqchip: brcmstb-l2: Define an irq_pm_shutdown function
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 27 Jul 2017 22:38:17 +0000 (15:38 -0700)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 7 Aug 2017 12:50:52 +0000 (13:50 +0100)
commitc017d21147848fe017772764a77a7f32c5b017f9
tree183351c8ab9ef2bdc4067ba0e3f3c9241df0c8f8
parent39a06b67c2c1256bcf2361a1f67d2529f70ab206
irqchip: brcmstb-l2: Define an irq_pm_shutdown function

The Broadcom STB platforms support S5 and we allow specific hardware
wake-up events to take us out of this state. Because we were not
defining an irq_pm_shutdown() function pointer, we would not be
correctly masking non-wakeup events, which would result in spurious
wake-ups from sources that were not explicitly configured for wake-up.

Fixes: 7f646e92766e ("irqchip: brcmstb-l2: Add Broadcom Set Top Box Level-2 interrupt controller")
Acked-by: Gregory Fong <gregory.0xf0@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-brcmstb-l2.c