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:
782dd90
)
mmc: move cap with hs200 to caps
author
lintao
<lintao@rock-chips.com>
Fri, 12 Sep 2014 10:06:18 +0000
(18:06 +0800)
committer
lintao
<lintao@rock-chips.com>
Fri, 12 Sep 2014 10:07:07 +0000
(18:07 +0800)
Signed-off-by: lintao <lintao@rock-chips.com>
drivers/mmc/host/rk_sdmmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/rk_sdmmc.c
b/drivers/mmc/host/rk_sdmmc.c
index b09e0333e91b78cef65aa736be22f975958e3d7e..41e3c20573afd5f88d7d4804480c7f0653d60f03 100755
(executable)
--- a/
drivers/mmc/host/rk_sdmmc.c
+++ b/
drivers/mmc/host/rk_sdmmc.c
@@
-1112,7
+1112,7
@@
static void dw_mci_setup_bus(struct dw_mci_slot *slot, bool force_clkinit)
*/
if ((div == 0) &&
(host->mmc->caps & (MMC_CAP_1_8V_DDR | MMC_CAP_1_2V_DDR)) &&
- !(host->mmc->caps & MMC_CAP2_HS200)) {
+ !(host->mmc->caps
2
& MMC_CAP2_HS200)) {
/* Fixup DDR MMC */
div = 1;
host->set_div = div;