]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: mmc: do not use CMD13 to get status after speed mode switch
authorChaotian Jing <chaotian.jing@mediatek.com>
Thu, 19 May 2016 08:47:41 +0000 (16:47 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:08 +0000 (10:34 +0200)
commit2ffe91b8f795a3c293bb29c7ab19ad2264165a50
tree662668b4d24fa9e1485d5f69f02eaa56b3917713
parent667ce9f0075c04fd65d0355346c50ead7b22e694
mmc: mmc: do not use CMD13 to get status after speed mode switch

Per JEDEC spec, it is not recommended to use CMD13 to get card status
after speed mode switch. below are two reason about this:
1. CMD13 cannot be guaranteed due to the asynchronous operation.
Therefore it is not recommended to use CMD13 to check busy completion
of the timing change indication.
2. After switch to HS200, CMD13 will get response of 0x800, and even the
busy signal gets de-asserted, the response of CMD13 is aslo 0x800.

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