]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: do not retry CMD6 in __mmc_switch()
authorChaotian Jing <chaotian.jing@mediatek.com>
Fri, 15 Feb 2019 05:59:34 +0000 (13:59 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 Feb 2019 08:16:12 +0000 (09:16 +0100)
commit112f3c1310f2572756a3933e405c89565f231b66
treee7f4841bb82b71e46dcc2a8908b4e125ffb2a455
parent18bf8957f1dfaa5c44eaea6a4d3acee30cb5fbd7
mmc: core: do not retry CMD6 in __mmc_switch()

the response type of CMD6 is R1B, when the first CMD6 gets response
CRC error, do retry may get timeout error due to card may still in
busy state, which cause this retry make no sense.

Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc_ops.c