]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: Fix tuning reset after exhausting the maximum number of loops
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 2 Dec 2016 13:14:21 +0000 (15:14 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 13:16:21 +0000 (14:16 +0100)
commitd63006959551a63f4311875b44865ebb53afd1ee
tree22717bcd921ab686ae87ed03c5d8764dd9854306
parent4c49bdd30752a1798141a191f42e258cd7546270
mmc: sdhci: Fix tuning reset after exhausting the maximum number of loops

If the driver has exhausted the maximum number of tuning loops, then fixed
sampling is used. To do that both SDHCI_CTRL_TUNED_CLK and
SDHCI_CTRL_EXEC_TUNING must be reset to 0, but only SDHCI_CTRL_TUNED_CLK
was being reset. Reset SDHCI_CTRL_EXEC_TUNING to 0 also.

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