summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2019-07-12 15:29:05 +0200
committerSasha Levin <sashal@kernel.org>2019-08-25 10:10:27 -0400
commit62f9048d260eb5544a80a24b23407086c070b130 (patch)
treef0bd8651280e452e83897dc872491e72957ecebb /drivers/irqchip
parent6124def33c0400532dc71d8d97e8e3f434b1c58a (diff)
downloadlinux-stable-62f9048d260eb5544a80a24b23407086c070b130.tar.gz
linux-stable-62f9048d260eb5544a80a24b23407086c070b130.tar.bz2
linux-stable-62f9048d260eb5544a80a24b23407086c070b130.zip
irqchip/irq-imx-gpcv2: Forward irq type to parent
[ Upstream commit 9a446ef08f3bfc0c3deb9c6be840af2528ef8cf8 ] The GPCv2 is a stacked IRQ controller below the ARM GIC. It doesn't care about the IRQ type itself, but needs to forward the type to the parent IRQ controller, so this one can be configured correctly. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/irqchip')
-rw-r--r--drivers/irqchip/irq-imx-gpcv2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-imx-gpcv2.c b/drivers/irqchip/irq-imx-gpcv2.c
index bf2237ac5d09..4f74c15c4755 100644
--- a/drivers/irqchip/irq-imx-gpcv2.c
+++ b/drivers/irqchip/irq-imx-gpcv2.c
@@ -131,6 +131,7 @@ static struct irq_chip gpcv2_irqchip_data_chip = {
.irq_unmask = imx_gpcv2_irq_unmask,
.irq_set_wake = imx_gpcv2_irq_set_wake,
.irq_retrigger = irq_chip_retrigger_hierarchy,
+ .irq_set_type = irq_chip_set_type_parent,
#ifdef CONFIG_SMP
.irq_set_affinity = irq_chip_set_affinity_parent,
#endif