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:
5f5d643
)
mmc: host:rk_sdmmc:
author
lintao
<lintao@rock-chips.com>
Tue, 10 Jun 2014 08:11:23 +0000
(16:11 +0800)
committer
lintao
<lintao@rock-chips.com>
Tue, 10 Jun 2014 08:11:23 +0000
(16:11 +0800)
sdio-wifi: fetch accurate boot clock
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 b4c5fc70d413ebe1b51391d8bacf55bd8f339b64..06cdc5e8e35f89c8bd93de894efed83d6598c346 100755
(executable)
--- a/
drivers/mmc/host/rk_sdmmc.c
+++ b/
drivers/mmc/host/rk_sdmmc.c
@@
-919,9
+919,6
@@
static int dw_mci_setup_bus(struct dw_mci_slot *slot, bool force_clkinit)
SDMMC_CMD_UPD_CLK | SDMMC_CMD_PRV_DAT_WAIT, 0);
if(ret < 0)
return -EAGAIN;
-
- if (!(host->mmc->restrict_caps & RESTRICT_CARD_TYPE_EMMC))
- goto normal;
if(clock <= 400*1000){
MMC_DBG_BOOT_FUNC(host->mmc,
@@
-976,8
+973,7
@@
static int dw_mci_setup_bus(struct dw_mci_slot *slot, bool force_clkinit)
}
-
-normal:
+
/* set clock to desired speed */
mci_writel(host, CLKDIV, div);