linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* suspicious code in linux/arch/arm/common/sa1111.c
@ 2010-11-16  9:07 Pavel Machek
  2010-11-16  9:09 ` Eric Miao
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2010-11-16  9:07 UTC (permalink / raw)
  To: linux-arm-kernel

Hi!

Is this good idea?

Signed-off-by: Pavel Machek <pma@sysgo.com>

diff -ur linux.ofic//arch/arm/common/sa1111.c linux/arch/arm/common/sa1111.c
--- linux.ofic//arch/arm/common/sa1111.c	2010-10-17 20:31:13.000000000 +0200
+++ linux/arch/arm/common/sa1111.c	2010-11-05 10:44:17.000000000 +0100
@@ -282,7 +312,7 @@
 	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;
 	}
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-10 22:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-16  9:07 suspicious code in linux/arch/arm/common/sa1111.c Pavel Machek
2010-11-16  9:09 ` Eric Miao
2011-01-09  7:14   ` Pavel Machek
2011-01-10 22:38     ` Eric Miao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).