]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00153218 mxc gpio: tzic should not disable gpio interrupt line
authorJason Chen <b02280@freescale.com>
Mon, 18 Jul 2011 04:44:25 +0000 (12:44 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:09:18 +0000 (14:09 +0200)
For SOC using TZIC, gpio_irq_handler should not call tzic chip ack
funtion, cause it will disable this interrupt line.

Signed-off-by: Jason Chen <b02280@freescale.com>
arch/arm/plat-mxc/gpio.c

index a287e50bebcb3b6eee92b1b4e1342ec593c88e6d..0a4743a355da7edad249dc39afb68a6f08043203 100755 (executable)
@@ -177,7 +177,9 @@ static void mx3_gpio_irq_handler(u32 irq, struct irq_desc *desc)
        u32 irq_stat;
        struct mxc_gpio_port *port = irq_get_handler_data(irq);
 
+#ifndef CONFIG_MXC_TZIC
        desc->irq_data.chip->irq_ack(&desc->irq_data);
+#endif
 
        irq_stat = __raw_readl(port->base + GPIO_ISR) &
                        __raw_readl(port->base + GPIO_IMR);