mmc: tmio: Fix error handling when issuing CMD23
authorMasaharu Hayakawa <[email protected]>
Tue, 3 Apr 2018 21:57:03 +0000 (23:57 +0200)
committerUlf Hansson <[email protected]>
Wed, 4 Apr 2018 10:21:27 +0000 (12:21 +0200)
commitfc167daff581c01ebce8695e9618231cae3561a1
tree090cac202dedfca0e86ccf329780b88b375bb7be
parentd0a0852b9f81cf5f793bf2eae7336ed40a1a1815
mmc: tmio: Fix error handling when issuing CMD23

If an error was detected when CMD23 was issued, command sequence should
be terminated with errors and CMD23 should be issued after retuning.

Fixes: 8b22c3c18be5 ("mmc: tmio: add CMD23 support")
Signed-off-by: Masaharu Hayakawa <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Cc: <[email protected]> # 4.13+
Signed-off-by: Ulf Hansson <[email protected]>
drivers/mmc/host/tmio_mmc_core.c