]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 16 Jan 2020 11:29:16 +0000 (12:29 +0100)
commit8a343da117412005f4ce955564c609a7d606d6c9
tree3fc411617b83f8524656fa953202e45b7f1822cc
parentf6ef8943b2da035ab6efc28174013ea56737af9c
mmc: sdhci_am654: Reset Command and Data line after tuning

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: 70ab2503d6e4 ("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>
drivers/mmc/host/sdhci_am654.c