提交 282ea441 编写于 作者: A Al Viro 提交者: Linus Torvalds

drivers/memstick/host/tifm_ms.c breakage

writel(sock + ...) that should've been writel(sock->addr + ...)
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 39ed7adb
...@@ -282,7 +282,7 @@ static int tifm_ms_issue_cmd(struct tifm_ms *host) ...@@ -282,7 +282,7 @@ static int tifm_ms_issue_cmd(struct tifm_ms *host)
writel(TIFM_MS_SYS_LATCH writel(TIFM_MS_SYS_LATCH
| readl(sock->addr + SOCK_MS_SYSTEM), | readl(sock->addr + SOCK_MS_SYSTEM),
sock + SOCK_MS_SYSTEM); sock->addr + SOCK_MS_SYSTEM);
writel(0, sock->addr + SOCK_MS_DATA); writel(0, sock->addr + SOCK_MS_DATA);
dev_dbg(&sock->dev, "writing %x\n", 0); dev_dbg(&sock->dev, "writing %x\n", 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册