From: Al Viro Date: Wed, 13 Feb 2008 03:56:59 +0000 (+0000) Subject: drivers/memstick/host/tifm_ms.c breakage X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=282ea441e003f2886893ab7bb60bfe29399ef7be;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drivers/memstick/host/tifm_ms.c breakage writel(sock + ...) that should've been writel(sock->addr + ...) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/memstick/host/tifm_ms.c b/drivers/memstick/host/tifm_ms.c index f55b71a4337d..4fb24215bd95 100644 --- a/drivers/memstick/host/tifm_ms.c +++ b/drivers/memstick/host/tifm_ms.c @@ -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);