]> git.hungrycats.org Git - linux/commitdiff
[ARM] Fix broken IXP4xx GPIO0 IRQ handling
authorYves Rutschle <y.rutschle@indigovision.com>
Fri, 14 May 2004 03:34:27 +0000 (20:34 -0700)
committerDeepak Saxena <dsaxena@xanadu.(none)>
Fri, 14 May 2004 03:34:27 +0000 (20:34 -0700)
Patch from Yves Rutschle

arch/arm/mach-ixp4xx/common.c

index af32f42f9c428cdc60e02b0524271d00674b6dc6..31dc189a83db083a3928e8ff700c1b6c9e828b0e 100644 (file)
@@ -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);