[irqchip: irq/irqchip-next] irqchip/mtk-sysirq: Skip setting irq-wake

From: irqchip-bot for Markus Schneider-Pargmann
Date: Thu Aug 12 2021 - 06:49:02 EST


The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID: c775626fb3379f0c7c21925743104aeae6d2f8b1
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/c775626fb3379f0c7c21925743104aeae6d2f8b1
Author: Markus Schneider-Pargmann <msp@xxxxxxxxxxxx>
AuthorDate: Wed, 07 Jul 2021 08:20:04 +02:00
Committer: Marc Zyngier <maz@xxxxxxxxxx>
CommitterDate: Thu, 12 Aug 2021 08:15:15 +01:00

irqchip/mtk-sysirq: Skip setting irq-wake

mtk-sysirq doesn't require specific logic to work with wakeup IRQs. To
allow registered IRQs to be used as a wakeup-source, add the flag
IRQCHIP_SKIP_SET_WAKE.

Signed-off-by: Markus Schneider-Pargmann <msp@xxxxxxxxxxxx>
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20210707062004.782787-1-msp@xxxxxxxxxxxx
---
drivers/irqchip/irq-mtk-sysirq.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/irqchip/irq-mtk-sysirq.c b/drivers/irqchip/irq-mtk-sysirq.c
index 6ff98b8..586e52d 100644
--- a/drivers/irqchip/irq-mtk-sysirq.c
+++ b/drivers/irqchip/irq-mtk-sysirq.c
@@ -65,6 +65,7 @@ static struct irq_chip mtk_sysirq_chip = {
.irq_set_type = mtk_sysirq_set_type,
.irq_retrigger = irq_chip_retrigger_hierarchy,
.irq_set_affinity = irq_chip_set_affinity_parent,
+ .flags = IRQCHIP_SKIP_SET_WAKE,
};

static int mtk_sysirq_domain_translate(struct irq_domain *d,