mmc: sdhci_am654: Reset Command and Data line after tuning
authorFaiz Abbas <faiz_abbas@ti.com>
Wed, 8 Jan 2020 14:33:00 +0000 (20:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jan 2020 15:45:28 +0000 (16:45 +0100)
commit77d323cc3783d50f177a7b5b8ba8c9271b118048
tree4812fbda375028407b587f6f2fc6fd5c87eeda42
parentd5bb81660456610a6b3e0b0f54df5a09898c0847
mmc: sdhci_am654: Reset Command and Data line after tuning

commit de31f6ab68a3f548d88686d53514f252d78f61d5 upstream.

The tuning data is leftover in the buffer after tuning. This can cause
issues in future data commands, especially with CQHCI. Reset the command
and data lines after tuning to continue from a clean state.

Fixes: 41fd4caeb00b ("mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver")
Cc: stable@vger.kernel.org
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20200108143301.1929-3-faiz_abbas@ti.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci_am654.c