mmc: sdhci: Fix CMD line reset interfering with ongoing data transfer
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 2 Nov 2016 13:49:08 +0000 (15:49 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 7 Nov 2016 12:26:42 +0000 (13:26 +0100)
commit6ebebeab5185f50d55c6a24d0abe47e5dac1b191
treebd172a01a2f256372da614db6ba91c1dd6f8b606
parent3a667e3ff78ae81afc49343c753864cc1ede2f77
mmc: sdhci: Fix CMD line reset interfering with ongoing data transfer

CMD line reset during an ongoing data transfer can cause the data transfer
to hang.  Fix by delaying the reset until the data transfer is finished.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org # v4.8+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c