mmc: mmci: send stop command if sbc error issue
authorLudovic Barre <ludovic.barre@st.com>
Wed, 7 Nov 2018 09:30:40 +0000 (10:30 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:26:24 +0000 (08:26 +0100)
commit09b4f706736fb9f9af763d8af41bf6f99944dc0c
tree9d8e599816288e37de64e77319cab82032d458e7
parent20427e5db3f96fc054c6a6ad95606906b834deb1
mmc: mmci: send stop command if sbc error issue

Refer to "4.15 set block count command" of sd specification:
Host needs to issue CMD12 if any error is detected in
the CMD18 and CMD25 operations.

In sbc case, the data->stop is fill by framework.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Tested-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c