From: Uwe Kleine-König Date: Tue, 25 Jan 2011 15:54:22 +0000 (+0100) Subject: ARM: mxs: acknowledge gpio irq X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1f6b5dd41f3b38739f0275b1539c57b34c5b22a3;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: mxs: acknowledge gpio irq This fixes a machine hang after a gpio irq triggered. Signed-off-by: Uwe Kleine-König Signed-off-by: Sascha Hauer --- diff --git a/arch/arm/mach-mxs/gpio.c b/arch/arm/mach-mxs/gpio.c index d7ad7a61366d..cb0c0e83a527 100644 --- a/arch/arm/mach-mxs/gpio.c +++ b/arch/arm/mach-mxs/gpio.c @@ -139,6 +139,8 @@ static void mxs_gpio_irq_handler(u32 irq, struct irq_desc *desc) struct mxs_gpio_port *port = (struct mxs_gpio_port *)get_irq_data(irq); u32 gpio_irq_no_base = port->virtual_irq_start; + desc->irq_data.chip->irq_ack(&desc->irq_data); + irq_stat = __raw_readl(port->base + PINCTRL_IRQSTAT(port->id)) & __raw_readl(port->base + PINCTRL_IRQEN(port->id));