2009/1/12 Ladislav Michl <ladis@xxxxxxxxxxxxxx>: > Last time I used MMC card with linux-2.6.15-omap2 and it worked pretty well on > my custom 5910 based board. Current git nor linux-2.6.22-omap1 (currently used > for production) doesn't work at all. Inspecting diff between 2.6.15-omap2 and > 2.6.22-omap1 showed that > --- a/drivers/mmc/host/omap.c 2009-01-12 09:32:23.000000000 +0100 > +++ b/drivers/mmc/host/omap.c 2009-01-12 09:46:26.000000000 +0100 > @@ -974,7 +974,7 @@ > * Writing to the CON register twice seems to do the trick. */ > for (i = 0; i < 2; i++) > OMAP_MMC_WRITE(host, CON, dsor); > - if (ios->power_mode == MMC_POWER_ON) { > + if (ios->power_mode == MMC_POWER_UP) { > /* Send clock cycles, poll completion */ > OMAP_MMC_WRITE(host, IE, 0); > OMAP_MMC_WRITE(host, STAT, 0xffff); > did the trick. Just confirming that I had the same issue on Palm T|E (omap15xx) and used a similar modification to make it work. This was with 2.6.22 so very long ago. Cheers -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html