ARM: imx: add platform irq type setting in gpc
commit4699ccbf8cf2f962031b88de7851f610030e5c17
authorAnson Huang <b20788@freescale.com>
Tue, 20 Oct 2015 10:44:19 +0000 (20 18:44 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 23 Nov 2015 05:12:07 +0000 (23 13:12 +0800)
treeed90000b6689f1bcb430d71bebc26a0dbcee344b
parent3fa2f9496554bc23eb62f958c920e9fcee7ba232
ARM: imx: add platform irq type setting in gpc

GPC irq domain is a child domain of GIC, now all of platform irqs
are inside GPC domain, during the module populate, all devices irq
should have correct type setting in GIC, however, there is no
.irq_set_type callback setting in GPC, so the irq_set_type will be
skipped and cause all irqs' type in /proc/interrupt are "edge" which
mismatch with irq type setting in dtb file. Since GPC has no irq
type setting, so just tell kernel to use irq_chip_set_type_parent.

Signed-off-by: Anson Huang <Anson.Huang@freescale.com>
Cc: <stable@vger.kernel.org> # 4.1+
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/gpc.c