]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: tmio: Fix error handling when issuing CMD23
authorMasaharu Hayakawa <masaharu.hayakawa.ry@renesas.com>
Tue, 3 Apr 2018 21:57:03 +0000 (23:57 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 4 Apr 2018 10:21:27 +0000 (12:21 +0200)
commit58eceb594ea7dbae94d92ce6dee237ab6676a527
tree090cac202dedfca0e86ccf329780b88b375bb7be
parenta1cab6d54d31c832748c1a306dafbc66fae5cd11
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: 1b893f5026be ("mmc: tmio: add CMD23 support")
Signed-off-by: Masaharu Hayakawa <masaharu.hayakawa.ry@renesas.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: <stable@vger.kernel.org> # 4.13+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc_core.c