Commit 2963e48d authored by Yves Rutschle's avatar Yves Rutschle Committed by Deepak Saxena

[ARM] Fix broken IXP4xx GPIO0 IRQ handling

Patch from Yves Rutschle
parent ab166529
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment