diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2017-04-18 18:05:31 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-04-24 21:42:28 +0200 |
commit | d9370424c9482d0ca2722627309c6f6bae131d97 (patch) | |
tree | 2f6a8887e53b4bc83158753d04a42f0d11fdf52c /Kconfig | |
parent | a82d12b8d5a626e30d2f15627079abdaa2e77c05 (diff) | |
download | op-kernel-dev-d9370424c9482d0ca2722627309c6f6bae131d97.zip op-kernel-dev-d9370424c9482d0ca2722627309c6f6bae131d97.tar.gz |
mmc: sdhci-esdhc-imx: reset tuning circuit when power on mmc card
USDHC tuning circuit should be reset before every time card enumeration
or re-enumeration.
SD3.0 card need tuning. For SDR104 card, when system suspend in standby
mode, and then resume back, the IO timing is still SDR104(tuned) which
may result in card re-enumeration fail in low card speed(400khz) for some
cards. And we did meet the issue that in certain probability, SDR104
card meet mmc command CRC/Timeout error when send CMD2 during mmc bus
resume.
This patch reset the tuning circuit when the ios timing is
MMC_TIMING_LEGACY/MMC_TIMING_MMC_HS/MMC_TIMING_SD_HS, which means both
mmc_power_up() and mmc_power_off() will reset the tuning circuit.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-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 'Kconfig')
0 files changed, 0 insertions, 0 deletions