mmc: dw_mmc: call the dw_mci_prep_stop_abort() by default
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Nov 2016 07:40:37 +0000 (16:40 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:05:09 +0000 (09:05 +0100)
commite13c3c081845b51e8ba71a90e91c52679cfdbf89
treea52894bd6b268cb41a341154c05f57cd115ebf21
parent8c005b409080b5c98b74b96642d2aacf7f099cf0
mmc: dw_mmc: call the dw_mci_prep_stop_abort() by default

stop_cmdr should be set to values relevant to stop command.
It migth be assigned to values whatever there is mrq->stop or not.
Then it doesn't need to use dw_mci_prepare_command().
It's enough to use the prep_stop_abort for preparing stop command.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c