From 4714061a997df6cb6e65a384562397709043e1d2 Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Wed, 3 Oct 2007 17:48:16 -0700 Subject: [PATCH] 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 --- arch/arm/plat-omap/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.41.1