summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Machek <pma@sysgo.com>2011-01-10 16:35:34 -0600
committerEric Miao <eric.y.miao@gmail.com>2011-01-14 10:21:01 -0600
commitcae399880f82fdc6b0afccf42224fc2a759aa6b3 (patch)
treeec9ea2b16498e0cb40a7451ac67e8415dcef390f
parent5b88128fd70dcf0d5d7c0ae7d7849777ff925bde (diff)
ARM: sa1111: fix typo in sa1111_retrigger_lowirq()
Signed-off-by: Pavel Machek <pma@sysgo.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
-rw-r--r--arch/arm/common/sa1111.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c
index d6c784e78c8..eb9796b0dab 100644
--- a/arch/arm/common/sa1111.c
+++ b/arch/arm/common/sa1111.c
@@ -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;
}