summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRyan QIAN <b32804@freescale.com>2012-02-14 11:10:45 +0800
committerRyan QIAN <b32804@freescale.com>2012-02-14 12:48:52 +0800
commit69bf4d4cdb533b7c78a8ad2ada9f4aa9c519eb49 (patch)
tree257ca4c0804a4efad6754a9913b151624e3ee190 /drivers
parent12ae952212e23bb6b19fde28511b9bc9350ecb26 (diff)
ENGR00174296 [MX6_SD]USDHC: iNAND on board failed to work on ddr mode
- add delay in mmc_switch to improve compatibility. Signed-off-by: Ryan QIAN <b32804@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/core/mmc_ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c
index 845ce7c533b9..b11876c2c2df 100644
--- a/drivers/mmc/core/mmc_ops.c
+++ b/drivers/mmc/core/mmc_ops.c
@@ -397,6 +397,7 @@ int mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value,
err = mmc_wait_for_cmd(card->host, &cmd, MMC_CMD_RETRIES);
if (err)
return err;
+ mdelay(1);
/* Must check status to be sure of no errors */
do {