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:
3033f0d
)
SDMMC:
author
xbw
<xbw@rock-chips.com>
Tue, 25 Feb 2014 04:34:50 +0000
(12:34 +0800)
committer
xbw
<xbw@rock-chips.com>
Tue, 25 Feb 2014 04:34:50 +0000
(12:34 +0800)
revert the modify in file dw_mmc.c,Keep it to its original version.
drivers/mmc/host/dw_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/dw_mmc.c
b/drivers/mmc/host/dw_mmc.c
index 9bc18a721f86220c1310fc995bb6acf89c373034..bc3a1bc4940f41ce4efee78563d94e1ab6cbd49f 100755
(executable)
--- a/
drivers/mmc/host/dw_mmc.c
+++ b/
drivers/mmc/host/dw_mmc.c
@@
-2215,15
+2215,11
@@
int dw_mci_probe(struct dw_mci *host)
}
}
-#if 1
- //test, modify by xbw
- host->bus_hz = 50000000;
-#else
if (IS_ERR(host->ciu_clk))
host->bus_hz = host->pdata->bus_hz;
else
host->bus_hz = clk_get_rate(host->ciu_clk);
-#endif
+
if (drv_data && drv_data->setup_clock) {
ret = drv_data->setup_clock(host);
if (ret) {