[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210128030627.41022-1-biwen.li@oss.nxp.com>
Date: Thu, 28 Jan 2021 11:06:27 +0800
From: Biwen Li <biwen.li@....nxp.com>
To: mark.rutland@....com, leoyang.li@....com, tglx@...utronix.de,
jason@...edaemon.net, maz@...nel.org
Cc: linux-kernel@...r.kernel.org, jiafei.pan@....com,
linux-arm-kernel@...ts.infradead.org, ran.wang_1@....com,
Biwen Li <biwen.li@....com>
Subject: [v3] irqchip: ls-extirq: add IRQCHIP_SKIP_SET_WAKE to the irqchip flags
From: Biwen Li <biwen.li@....com>
The ls-extirq driver doesn't implement the irq_set_wake()
callback, while being wake-up capable. This results in
ugly behaviours across suspend/resume cycles.
Advertise this by adding IRQCHIP_SKIP_SET_WAKE to
the irqchip flags
Signed-off-by: Biwen Li <biwen.li@....com>
---
Change in v3:
- update description
Change in v2:
- Update description
drivers/irqchip/irq-ls-extirq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-ls-extirq.c b/drivers/irqchip/irq-ls-extirq.c
index 564e6de0bd8e..3c6ed7b4744d 100644
--- a/drivers/irqchip/irq-ls-extirq.c
+++ b/drivers/irqchip/irq-ls-extirq.c
@@ -65,7 +65,7 @@ static struct irq_chip ls_extirq_chip = {
.irq_set_type = ls_extirq_set_type,
.irq_retrigger = irq_chip_retrigger_hierarchy,
.irq_set_affinity = irq_chip_set_affinity_parent,
- .flags = IRQCHIP_SET_TYPE_MASKED,
+ .flags = IRQCHIP_SET_TYPE_MASKED | IRQCHIP_SKIP_SET_WAKE,
};
static int
--
2.17.1
Powered by blists - more mailing lists