From bc0ba3c898e436146f1b5d5dc5632231d35a1c6f Mon Sep 17 00:00:00 2001 From: Raghavendra Kakarla Date: Sat, 8 Aug 2020 22:05:32 +0530 Subject: [PATCH] irqchip: mpm: Forward the irq type for the mpm parent This patch adds the logic to forward the irq type from the mpm irq domain to its parent gic irq domain. Change-Id: Id7c42ba59e0d003ffaa0a7951be4a2d3ffdb64a4 Signed-off-by: Raghavendra Kakarla --- drivers/irqchip/qcom-mpm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/qcom-mpm.c b/drivers/irqchip/qcom-mpm.c index 1f242cf729c0..a342948f55c9 100644 --- a/drivers/irqchip/qcom-mpm.c +++ b/drivers/irqchip/qcom-mpm.c @@ -400,6 +400,7 @@ static int msm_mpm_gic_chip_alloc(struct irq_domain *domain, parent_fwspec.param_count = 3; parent_fwspec.param[0] = 0; parent_fwspec.param[1] = parent_hwirq; + parent_fwspec.param[2] = type; return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &parent_fwspec);