projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
053b3ce
)
mmc: sdhci-s3c: use S3C_SDHCI_CONTROL2 instead of hardcoded offset value
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 14 Dec 2011 04:25:46 +0000
(13:25 +0900)
committer
Chris Ball
<cjb@laptop.org>
Thu, 12 Jan 2012 04:58:45 +0000
(23:58 -0500)
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-s3c.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-s3c.c
b/drivers/mmc/host/sdhci-s3c.c
index b6558b829a9cb6c3794be9451e12dbd912f8de10..d065e3749e560685691bdf14714a5131f98c6653 100644
(file)
--- a/
drivers/mmc/host/sdhci-s3c.c
+++ b/
drivers/mmc/host/sdhci-s3c.c
@@
-80,7
+80,7
@@
static void sdhci_s3c_check_sclk(struct sdhci_host *host)
tmp &= ~S3C_SDHCI_CTRL2_SELBASECLK_MASK;
tmp |= ourhost->cur_clk << S3C_SDHCI_CTRL2_SELBASECLK_SHIFT;
- writel(tmp, host->ioaddr +
0x80
);
+ writel(tmp, host->ioaddr +
S3C_SDHCI_CONTROL2
);
}
}