]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: GPIO IRQSTATUS2 workaround applies to 2430
authorKevin Hilman <khilman@mvista.com>
Thu, 4 Oct 2007 00:48:16 +0000 (17:48 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 9 Oct 2007 22:20:17 +0000 (15:20 -0700)
The workaround to clear both sides of GPIO IRQ applies to 2430 as well
as 2420.  Use cpu_is_omap24xx() instead of cpu_is_omap2420()

Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/gpio.c

index 16ec31015b9fda9287e3432cea4dbcf40062a7c4..1640a37dd3460a27bb6d7ec90843fde6f2a6e906 100644 (file)
@@ -709,7 +709,7 @@ static void _clear_gpio_irqbank(struct gpio_bank *bank, int gpio_mask)
 
        /* Workaround for clearing DSP GPIO interrupts to allow retention */
 #if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
-       if (cpu_is_omap2420() || cpu_is_omap34xx())
+       if (cpu_is_omap24xx() || cpu_is_omap34xx())
                __raw_writel(gpio_mask, bank->base + OMAP24XX_GPIO_IRQSTATUS2);
 #endif
 }