mmc: mmci: add variant property to set command stop bit
authorLudovic Barre <ludovic.barre@st.com>
Thu, 6 Dec 2018 15:13:31 +0000 (16:13 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:26:24 +0000 (08:26 +0100)
commitc8073e52851477514e98a032ae70f2dc8be19d32
tree9b75d1c25698f21025779b3fed2768003e9c0304
parent9e89a1526a9c23ce81584a0b612174342c611e47
mmc: mmci: add variant property to set command stop bit

On cmd12 (STOP_TRANSMISSION), STM32 sdmmc variant needs to set
cmdstop bit in command register. The CPSM ("Command Path State Machine")
treats the command as a Stop Transmission command and signals
abort to the DPSM ("Data Path State Machine").

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