]> 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)
commit64644a44ba48c49a133ca550308bcca18981f409
treeed90000b6689f1bcb430d71bebc26a0dbcee344b
parentb3920eded375e2a85deac081a37254345b0836bc
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