]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: Fix data command CRC error handling
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 15 Nov 2018 13:53:41 +0000 (15:53 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:26:24 +0000 (08:26 +0100)
commit1f21e64d5be1b608d77e1325aa961b88ccd797f9
tree7b7cfbb93d5ec271c3ec688cbdff2800d993111b
parent487c4b18698105081e4fc630adb45e0725a65982
mmc: sdhci: Fix data command CRC error handling

Existing data command CRC error handling is non-standard and does not work
with some Intel host controllers. Specifically, the assumption that the host
controller will continue operating normally after the error interrupt,
is not valid. Change the driver to handle the error in the same manner
as a data CRC error, taking care to ensure that the data line reset is
done for single or multi-block transfers, and it is done before
unmapping DMA.

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