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 <rkakarla@codeaurora.org>
This commit is contained in:
Raghavendra Kakarla 2020-08-08 22:05:32 +05:30
parent d8534164bb
commit bc0ba3c898

View File

@ -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);