]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6841d341f936d495fe60bb3a690a4c1dbbba7e9e
treea52894bd6b268cb41a341154c05f57cd115ebf21
parenta2829ac24f3a2e16a0217bfd01cc759880a4785c
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