Commit 1fad235a authored by Ye Li's avatar Ye Li Committed by Jason Liu

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: 's avatarYe Li <ye.li@nxp.com>
Reviewed-by: 's avatarPeng Fan <peng.fan@nxp.com>
parent 0f823401
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment