Commit 79bccc5a authored by José M. Fernández's avatar José M. Fernández Committed by Pierre Ossman

mmc: increase power up delay

The TI controller on Toshiba Tecra M5 needs more time to power up or
the cards will init incorrectly or not at all.
Signed-off-by: default avatarJosé M. Fernández <josemariafg@gmail.com>
Signed-off-by: default avatarPierre Ossman <pierre@ossman.eu>
parent c60a32cd
...@@ -706,7 +706,7 @@ static void mmc_power_up(struct mmc_host *host) ...@@ -706,7 +706,7 @@ static void mmc_power_up(struct mmc_host *host)
* This delay should be sufficient to allow the power supply * This delay should be sufficient to allow the power supply
* to reach the minimum voltage. * to reach the minimum voltage.
*/ */
mmc_delay(2); mmc_delay(10);
host->ios.clock = host->f_min; host->ios.clock = host->f_min;
host->ios.power_mode = MMC_POWER_ON; host->ios.power_mode = MMC_POWER_ON;
...@@ -716,7 +716,7 @@ static void mmc_power_up(struct mmc_host *host) ...@@ -716,7 +716,7 @@ static void mmc_power_up(struct mmc_host *host)
* This delay must be at least 74 clock sizes, or 1 ms, or the * This delay must be at least 74 clock sizes, or 1 ms, or the
* time required to reach a stable voltage. * time required to reach a stable voltage.
*/ */
mmc_delay(2); mmc_delay(10);
} }
static void mmc_power_off(struct mmc_host *host) static void mmc_power_off(struct mmc_host *host)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment