summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-09-20 04:27:09 -0500
committerYe Li <ye.li@nxp.com>2017-09-21 20:40:09 -0500
commit9fe504ffc6cfec438d4e77ed8e920ac85b94b3cb (patch)
treeddd95970c468cf302df14189a043a06a356d902e
parent0d224a38f12ee6d01c6aa09df7700645ba0c7eae (diff)
MLK-16499-2 mmc: fsl_esdhc: Remove duplicated clock settings
In esdhc_set_ios, the clock has been setup before calling esdhc_set_timing. So no need to call set_sysctl more. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
-rw-r--r--drivers/mmc/fsl_esdhc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
index 722a22d16e..baa67c13d2 100644
--- a/drivers/mmc/fsl_esdhc.c
+++ b/drivers/mmc/fsl_esdhc.c
@@ -778,7 +778,6 @@ static int esdhc_set_timing(struct mmc *mmc)
m |= MIX_CTRL_DDREN | MIX_CTRL_HS400_EN;
writel(m, &regs->mixctrl);
priv->is_ddr = 1;
- set_sysctl(mmc, mmc->clock);
esdhc_set_strobe_dll(mmc);
break;
case MMC_HS: