mmc: tegra: Add a workaround for tap value change glitch
authorAapo Vienamo <avienamo@nvidia.com>
Thu, 30 Aug 2018 15:06:20 +0000 (18:06 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 8 Oct 2018 09:40:43 +0000 (11:40 +0200)
commitd4501d8e884970dbe9ff1b48cf9424c97ede4cc7
tree06b3f47880cd7354ca349e0e9937cad4eb80c0ba
parentd943f6e91f0fe7edc4b7d21dc8cac80097a2fb9e
mmc: tegra: Add a workaround for tap value change glitch

Add quirk to disable the card clock during configuration of the tap
value in tegra_sdhci_set_tap() and issue sdhci_reset() after value
change. This is a workaround to avoid propagation of a potential
glitch caused by setting the tap value.

Signed-off-by: Aapo Vienamo <avienamo@nvidia.com>
Acked-by: Thierry Reding <treding@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