lkml.org 
[lkml]   [2021]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[irqchip: irq/irqchip-next] irqchip/mtk-sysirq: Skip setting irq-wake
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@baylibre.com>
AuthorDate: Wed, 07 Jul 2021 08:20:04 +02:00
Committer: Marc Zyngier <maz@kernel.org>
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@baylibre.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210707062004.782787-1-msp@baylibre.com
---
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,
\
 
 \ /
  Last update: 2021-08-12 12:49    [W:0.021 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site