diff options
author | Chaotian Jing <chaotian.jing@mediatek.com> | 2015-09-30 17:37:18 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-09-30 14:54:22 +0200 |
commit | 031277d4d33d33f0174fbb569ca8f68238175617 (patch) | |
tree | 559f972f69ad5fe32eb1f92e6c52be1fff190138 /samples | |
parent | fd546ee6a7dc4b71ebc6d1205bf72ea3c1c7030a (diff) | |
download | op-kernel-dev-031277d4d33d33f0174fbb569ca8f68238175617.zip op-kernel-dev-031277d4d33d33f0174fbb569ca8f68238175617.tar.gz |
mmc: core: fix dead loop of mmc_retune
When get a CRC error, start the mmc_retune, it will issue CMD19/CMD21
to do tune, assume there were 10 clock phase need to try, phase 0 to
phase 6 is ok, phase 7 to phase 9 is NG, we try it from 0 to 9, so
the last CMD19/CMD21 will get CRC error, host->need_retune was set and
cause mmc_retune was called, then dead loop of mmc_retune
Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: bd11e8bd03ca ("mmc: core: Flag re-tuning is needed on CRC errors")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions