From: Ryan QIAN Date: Tue, 14 Feb 2012 03:10:45 +0000 (+0800) Subject: ENGR00174296 [MX6_SD]USDHC: iNAND on board failed to work on ddr mode X-Git-Tag: v3.0.35-fsl~1481 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=501d79435c95d49fe0a6f20578fd2c870fd66a93;p=karo-tx-linux.git 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 --- 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 {