diff options
author | Dong Aisheng <aisheng.dong@nxp.com> | 2016-07-12 10:46:24 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-07-25 11:34:59 +0300 |
commit | a75dcbf490ac1be50a458f5417f3cd6334e80a04 (patch) | |
tree | 9a2a69be7dd60cf3878b152b842020f4fdd067e4 /drivers/mmc/host/tmio_mmc_dma.c | |
parent | 19dbfdd3d5152daf86cd79beb14544a2ffab8090 (diff) | |
download | linux-a75dcbf490ac1be50a458f5417f3cd6334e80a04.tar.xz |
mmc: sdhci-esdhc-imx: clear tuning bits during driver probe
The tuning bits like FBCLK_SEL, SMP_CLK_SEL and DLY_CELL which affects
timing may have already been set by ROM if booting from SD3.0 mode like
SDR104. Let's clear it first during driver probe before doing the new
card enumeration to avoid working on the wrong timing.
Note that tuning bits are dynamical settings which may need to be kept
during MMC_PM_KEEP_POWER suspend, so we did not put them into hwinit
function.
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc_dma.c')
0 files changed, 0 insertions, 0 deletions