ARM: sa1111: fix typo in sa1111_retrigger_lowirq()
authorPavel Machek <pma@sysgo.com>
Mon, 10 Jan 2011 22:35:34 +0000 (16:35 -0600)
committerEric Miao <eric.y.miao@gmail.com>
Fri, 14 Jan 2011 16:21:01 +0000 (10:21 -0600)
Signed-off-by: Pavel Machek <pma@sysgo.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/common/sa1111.c

index d6c784e78c8319f6f1db9aaaef0323fabee09c03..eb9796b0dab23020356b15ae14ca386286c8f478 100644 (file)
@@ -279,7 +279,7 @@ static int sa1111_retrigger_lowirq(struct irq_data *d)
        for (i = 0; i < 8; i++) {
                sa1111_writel(ip0 ^ mask, mapbase + SA1111_INTPOL0);
                sa1111_writel(ip0, mapbase + SA1111_INTPOL0);
-               if (sa1111_readl(mapbase + SA1111_INTSTATCLR1) & mask)
+               if (sa1111_readl(mapbase + SA1111_INTSTATCLR0) & mask)
                        break;
        }