mmc: tegra: Disable card clock during tuning cmd on Tegra210
authorAapo Vienamo <avienamo@nvidia.com>
Thu, 30 Aug 2018 15:06:26 +0000 (18:06 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 8 Oct 2018 09:40:43 +0000 (11:40 +0200)
commit38a284d98cfed5a020915a48f2ad23f60bcf3a4c
treedbd1450449a483cb9045f4124681c71a9c680937
parentf6a447fafa39c9a25c83c5dafae499e08be2eb51
mmc: tegra: Disable card clock during tuning cmd on Tegra210

Implement tegra210_sdhci_writew() to disable card clock and issue a
reset when the tuning command is sent. This is done to prevent an
intermittent hang with around 10 % failure rate during tuning.

Add tegra186_sdhci_ops because this workaround is specific to Tegra210.

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