]> 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)
commitc77c9f1a3c14777c58b3d85abd3f93fa6ec8719d
tree662668b4d24fa9e1485d5f69f02eaa56b3917713
parent2d38580a5902bf893b39112e6bc10e99155c2a18
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