mmc: sdhci: Always allow tuning to fall back to fixed sampling
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 2 Dec 2016 13:14:22 +0000 (15:14 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 13:16:21 +0000 (14:16 +0100)
commit0760c355525c08dd598e86edb2a310688ac8af4c
treec11b95c032eb6f70a516961e1eb06c2e0f32dbaf
parent5ef5203b95c5090ba40e30ee8eedc5a937fc2898
mmc: sdhci: Always allow tuning to fall back to fixed sampling

SDHCI falls back to fixed sampling if there is an error during tuning.
However it also reports an error unless there is periodic re-tuning.
That is not the best option because:
a) there is a reasonable chance that fixed sampling will work, especially
at room temperature.
b) re-tuning will be done again anyway if there are CRC errors.
Change to return no error always when falling back to fixed sampling.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c