瀏覽代碼

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>
Gregory CLEMENT 10 年之前
父節點
當前提交
0d8e1d80bb
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/irqchip/irq-armada-370-xp.c

+ 1 - 0
drivers/irqchip/irq-armada-370-xp.c

@@ -295,6 +295,7 @@ static struct irq_chip armada_370_xp_irq_chip = {
 #ifdef CONFIG_SMP
 #ifdef CONFIG_SMP
 	.irq_set_affinity = armada_xp_set_affinity,
 	.irq_set_affinity = armada_xp_set_affinity,
 #endif
 #endif
+	.flags		= IRQCHIP_SKIP_SET_WAKE | IRQCHIP_MASK_ON_SUSPEND,
 };
 };
 
 
 static int armada_370_xp_mpic_irq_map(struct irq_domain *h,
 static int armada_370_xp_mpic_irq_map(struct irq_domain *h,