[PATCH 4.4 127/342] irqchip/mxs: Add missing set_handle_irq()

From: Greg Kroah-Hartman
Date: Tue Mar 01 2016 - 20:08:56 EST


4.4-stable review patch. If anyone has any objections, please let me know.

------------------

From: Oleksij Rempel <linux@xxxxxxxxxxxxxxxx>

commit c5b635203032462603c503ecce91a7021c1ad44a upstream.

The rework of the driver missed to move the call to set_handle_irq() into
asm9260_of_init(). As a consequence no interrupt entry point is installed and
no interrupts are delivered

Solution is simple: Install the interrupt entry handler.

Fixes: 7e4ac676ee ("irqchip/mxs: Add Alphascale ASM9260 support")
Signed-off-by: Oleksij Rempel <linux@xxxxxxxxxxxxxxxx>
Cc: kernel@xxxxxxxxxxxxxx
Cc: jason@xxxxxxxxxxxxxx
Cc: marc.zyngier@xxxxxxx
Link: http://lkml.kernel.org/r/1454061473-24957-1-git-send-email-linux@xxxxxxxxxxxxxxxx
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
drivers/irqchip/irq-mxs.c | 1 +
1 file changed, 1 insertion(+)

--- a/drivers/irqchip/irq-mxs.c
+++ b/drivers/irqchip/irq-mxs.c
@@ -241,6 +241,7 @@ static int __init asm9260_of_init(struct
writel(0, icoll_priv.intr + i);

icoll_add_domain(np, ASM9260_NUM_IRQS);
+ set_handle_irq(icoll_handle_irq);

return 0;
}