commit | 2cdf52b00549e53cf35a53c95375aeaed89113e9 | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Mon Nov 04 17:14:15 2019 +0800 |
committer | Peng Fan <peng.fan@nxp.com> | Tue Nov 05 11:21:25 2019 +0800 |
tree | 16f9ce5f4f69ff76e5bd6eba3325dd608a94544a | |
parent | 4fc9333c6a39bd27582b410f2583a2e201e6a278 [diff] |
mmc: fsl_esdhc_imx: drop redundant clock settings During mmc initialization, there are several calls to mmc_set_clock and mmc_set_ios. When mmc_power_off, the mmc->clock will be set, but the imx driver will use 400KHz. So the following calls to mmc_set_ios will set the clock several times which is redundant in fsl_esdhc_imx driver. So let's simplify to remove redundant clock settings. Signed-off-by: Peng Fan <peng.fan@nxp.com>