From: Kevin Hilman Date: Thu, 4 Oct 2007 00:48:16 +0000 (-0700) Subject: ARM: OMAP: GPIO IRQSTATUS2 workaround applies to 2430 X-Git-Tag: v2.6.23-omap1~26 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4714061a997df6cb6e65a384562397709043e1d2;p=linux-2.6-omap-h63xx.git ARM: OMAP: GPIO IRQSTATUS2 workaround applies to 2430 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 Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 16ec31015b9..1640a37dd34 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c @@ -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 }