Skip to content

Commit

Permalink
mmc: increase power up delay
Browse files Browse the repository at this point in the history
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: José M. Fernández <josemariafg@gmail.com>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
  • Loading branch information
José M. Fernández authored and Pierre Ossman committed May 3, 2009
1 parent c60a32c commit 79bccc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ static void mmc_power_up(struct mmc_host *host)
* This delay should be sufficient to allow the power supply
* to reach the minimum voltage.
*/
mmc_delay(2);
mmc_delay(10);

host->ios.clock = host->f_min;
host->ios.power_mode = MMC_POWER_ON;
Expand All @@ -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
* time required to reach a stable voltage.
*/
mmc_delay(2);
mmc_delay(10);
}

static void mmc_power_off(struct mmc_host *host)
Expand Down

0 comments on commit 79bccc5

Please sign in to comment.