<snip> > Point noted. try n++: > switch(mmc_slot(host).wires) { > case 8: > mmc->caps |= MMC_CAP_8_BIT_DATA; > /* Fall through */ > case 4: > mmc->caps |= MMC_CAP_4_BIT_DATA; > break; > case 0: > /* assuming nothing was given by board, use 1 */ > case 1: > /* nothing to crib here */ > break; > default: > /* Completely unexpected.. try 1 bit instead */ > dev_crit(mmc_dev(host->mmc), "Invalid width %d" > " used! using 1 instead\n", > mmc_slot(host).wires); > } > > note: we should crib if the board file made a mistake here.. say it gave > 10 wire or so.. I agree that we can recover by stepping back to 1 bit > mode.. but we gotta tell the log that something aint right.. > Sure. It looks fine to me now. Regards, Madhu > -- > Regards, > Nishanth Menon -- 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