MLK-11685-1 mmc: add delay after CMD6 befoer sending CMD13 for sandisk

- Some sandisk emmc cards need certain delay befor sending cmd13 after cmd6.
Original CR: ENGR174296 (commit: fd031f9)

Acked-by: Aisheng Dong <b29396@freescale.com>
Signed-off-by: Ryan QIAN <b32804@freescale.com>
(cherry picked from commit f942bf1db36355d46f38792601594949f3f2c71b)
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>

Conflicts:
	drivers/mmc/core/mmc_ops.c
This commit is contained in:
Ryan QIAN
2013-01-16 10:23:28 +08:00
committed by Leonard Crestez
parent 22e099b18f
commit 581925fe32

View File

@ -522,6 +522,12 @@ int __mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value,
if (!use_busy_signal)
goto out;
/*
* WORKAROUND: for Sandisk eMMC cards, it might need certain delay
* before sending CMD13 after CMD6
*/
mdelay(1);
/*
* CRC errors shall only be ignored in cases were CMD13 is used to poll
* to detect busy completion.