]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd4b602968d68968c057ea1b3f323d35615eea2fc
treec11b95c032eb6f70a516961e1eb06c2e0f32dbaf
parentd63006959551a63f4311875b44865ebb53afd1ee
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