]> git.ipfire.org Git - people/arne_f/kernel.git/commitdiff
ARM: pxa: fix pxa25x interrupt init
authorRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 26 Sep 2016 07:21:51 +0000 (09:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jan 2017 12:42:56 +0000 (13:42 +0100)
commit e413bd33ac44b6d0bebc0ef2ac19cbe7558a7303 upstream.

In the device-tree case, the root interrupt controller cannot be
accessed through the 6th coprocessor, contrary to pxa27x and pxa3xx
architectures.

Fix it to behave as in non-devicetree builds.

Fixes: 32f17997c130 ("ARM: pxa: remove irq init from dt machines")
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-pxa/pxa25x.c

index 12b94357fbc11f868a792f70f56c5fe17cc586c6..c725baf119e1135e0b8f796c18e3684dc5b74862 100644 (file)
@@ -156,7 +156,7 @@ static int __init __init
 pxa25x_dt_init_irq(struct device_node *node, struct device_node *parent)
 {
        pxa_dt_irq_init(pxa25x_set_wake);
-       set_handle_irq(ichp_handle_irq);
+       set_handle_irq(icip_handle_irq);
 
        return 0;
 }