Commit 6a033b86 authored by Tony Lindgren's avatar Tony Lindgren

Undo MMC patch e2607096

Using MMC_POWER_ON is a better solution as noted by RMK
parent aeccf2ef
...@@ -899,16 +899,9 @@ static void mmc_omap_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ...@@ -899,16 +899,9 @@ static void mmc_omap_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
int dsor; int dsor;
int realclock, i; int realclock, i;
/* According to the MMC spec we must not enable clock prior to realclock = ios->clock;
* power stabilizing. But at least omap16xx needs clock dsor
* configured during MMC_POWER_UP.
*/
if ((ios->power_mode == MMC_POWER_UP) && (ios->clock == 0))
realclock = mmc->f_min;
else
realclock = ios->clock;
if (realclock == 0) if (ios->clock == 0)
dsor = 0; dsor = 0;
else { else {
int func_clk_rate = clk_get_rate(host->fclk); int func_clk_rate = clk_get_rate(host->fclk);
......
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