summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-armada-370-xp.c
diff options
context:
space:
mode:
authorGregory CLEMENT2015-03-30 16:04:37 +0200
committerJason Cooper2015-04-03 01:00:43 +0200
commit0d8e1d80bbe9852f42784072880df002534c6e0f (patch)
tree097fb8489b32bb056f397482ce0a2c35901d53a9 /drivers/irqchip/irq-armada-370-xp.c
parentirqchip: armada-370-xp: Enable the PMU interrupts (diff)
downloadkernel-qcow2-linux-0d8e1d80bbe9852f42784072880df002534c6e0f.tar.gz
kernel-qcow2-linux-0d8e1d80bbe9852f42784072880df002534c6e0f.tar.xz
kernel-qcow2-linux-0d8e1d80bbe9852f42784072880df002534c6e0f.zip
irqchip: armada-370-xp: Allow using wakeup source
On the Armada 370/XP SoCs, in standby mode the SoC stay powered and it is possible to wake-up from any interrupt sources. This patch adds flag to the MPIC irqchip driver to let linux know this. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Link: https://lkml.kernel.org/r/1427724278-12379-5-git-send-email-gregory.clement@free-electrons.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/irqchip/irq-armada-370-xp.c')
-rw-r--r--drivers/irqchip/irq-armada-370-xp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-armada-370-xp.c b/drivers/irqchip/irq-armada-370-xp.c
index b36373c019ba..daccc8bdbb42 100644
--- a/drivers/irqchip/irq-armada-370-xp.c
+++ b/drivers/irqchip/irq-armada-370-xp.c
@@ -295,6 +295,7 @@ static struct irq_chip armada_370_xp_irq_chip = {
#ifdef CONFIG_SMP
.irq_set_affinity = armada_xp_set_affinity,
#endif
+ .flags = IRQCHIP_SKIP_SET_WAKE | IRQCHIP_MASK_ON_SUSPEND,
};
static int armada_370_xp_mpic_irq_map(struct irq_domain *h,