[patch 3/5] MMC OMAP driver




Here are some misc fixes we've had in the OMAP tree. Might be worth
testing them on other platforms too.

Index: linux-2.6.15-mmc_omap/drivers/mmc/mmc.c
===================================================================
--- linux-2.6.15-mmc_omap.orig/drivers/mmc/mmc.c 2006-01-30 10:24:50.000000000 -0400
+++ linux-2.6.15-mmc_omap/drivers/mmc/mmc.c 2006-01-30 10:25:19.000000000 -0400
@@ -704,6 +704,7 @@ static void mmc_power_up(struct mmc_host
int bit = fls(host->ocr_avail) - 1;

host->ios.vdd = bit;
+ host->ios.clock = host->f_min;
host->ios.bus_mode = MMC_BUSMODE_OPENDRAIN;
host->ios.chip_select = MMC_CS_DONTCARE;
host->ios.power_mode = MMC_POWER_UP;
@@ -712,7 +713,6 @@ static void mmc_power_up(struct mmc_host

mmc_delay(1);

- host->ios.clock = host->f_min;
host->ios.power_mode = MMC_POWER_ON;
host->ops->set_ios(host, &host->ios);

@@ -747,6 +747,7 @@ static int mmc_send_op_cond(struct mmc_h
if (cmd.resp[0] & MMC_CARD_BUSY || ocr == 0)
break;

+ mmc_delay(1);
err = MMC_ERR_TIMEOUT;

mmc_delay(10);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [patch 3/5] MMC OMAP driver
    ... > Here are some misc fixes we've had in the OMAP tree. ... Might be worth ... > testing them on other platforms too. ... instead of just the power first. ...
    (Linux-Kernel)
  • Re: Jetty vs Tomcat benchmark ?!!
    ... > Jetty) After reading some posts I feel that both platforms are quite ... At this point it's a matter of some warm fuzzy feeling that you get from one ... While one may well "benchmark better", the difference isn't even worth ... containers you anticipate deployment on, with your anticipated loads, on ...
    (comp.lang.java.programmer)
  • Re: Above ground stations to have platform screen doors by 2012
    ... been giving for years are worth only shits!! ... screen doors at platforms, yet we're not being paid multimillion dollar ...
    (soc.culture.singapore)
  • Re: Guide for Word Mobile?
    ... Hang on, they can be odd, unexpected, infuriating, etc, etc... ... but no more than on other platforms such as the palm. ... getting through them is worth the frustrations. ...
    (microsoft.public.pocketpc)
  • Re: native-code languages (slashdot) and Borland rant
    ... platforms. ... Ditch .NET, it's just not worth it ... ... I think a mixture of compiled and dynamic languages is the way to go. ...
    (borland.public.delphi.non-technical)