]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
drivers/memstick/host/tifm_ms.c breakage
authorAl Viro <viro@ZenIV.linux.org.uk>
Wed, 13 Feb 2008 03:56:59 +0000 (03:56 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 13 Feb 2008 16:16:35 +0000 (08:16 -0800)
writel(sock + ...) that should've been writel(sock->addr + ...)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/memstick/host/tifm_ms.c

index f55b71a4337db81acd78606dc5c3fd24c26cba1d..4fb24215bd952aba5a8ab20dc59cd22bee24f87c 100644 (file)
@@ -282,7 +282,7 @@ static int tifm_ms_issue_cmd(struct tifm_ms *host)
 
                        writel(TIFM_MS_SYS_LATCH
                               | readl(sock->addr + SOCK_MS_SYSTEM),
-                              sock + SOCK_MS_SYSTEM);
+                              sock->addr + SOCK_MS_SYSTEM);
                        writel(0, sock->addr + SOCK_MS_DATA);
                        dev_dbg(&sock->dev, "writing %x\n", 0);