From 2963e48d9ebc2900c8404b05ec66c68115d96a85 Mon Sep 17 00:00:00 2001 From: Yves Rutschle Date: Thu, 13 May 2004 20:34:27 -0700 Subject: [PATCH] [ARM] Fix broken IXP4xx GPIO0 IRQ handling Patch from Yves Rutschle --- arch/arm/mach-ixp4xx/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c index af32f42f9c428..31dc189a83db0 100644 --- a/arch/arm/mach-ixp4xx/common.c +++ b/arch/arm/mach-ixp4xx/common.c @@ -168,7 +168,7 @@ static void ixp4xx_irq_unmask(unsigned int irq) * manual. If edge-triggered, need to move it to the mask_ack. * Nobody seems to be using the edge-triggered mode on the GPIOs. */ - if (line > 0) + if (line >= 0) gpio_line_isr_clear(line); *IXP4XX_ICMR |= (1 << irq); -- 2.53.0