]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: add platform irq type setting in gpc
authorAnson Huang <b20788@freescale.com>
Tue, 20 Oct 2015 10:44:19 +0000 (18:44 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 23 Nov 2015 05:12:07 +0000 (13:12 +0800)
commit829e35daa8f40649b34cc4aafefb41f69a62a930
treeed90000b6689f1bcb430d71bebc26a0dbcee344b
parentd0e136c3c8fdd2be2f4fc5bbd73c8da753449982
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