On 12/6/2011 8:13 PM, Hein_Tibosch wrote: > On 12/6/2011 5:18 PM, r66093@xxxxxxxxxxxxx wrote: >> When f_init is zero, the SDHC can't work correctly. So f_min will replace >> f_init, when f_init is zero. >> >> - host->ios.clock = host->f_init; >> + if (host->f_init) >> + host->ios.clock = host->f_init; >> + else >> + host->ios.clock = host->f_min; > Are you sure f_min can have a value of zero? > It should have been set mmc_rescan_try_freq(), when trying a list > of frequencies: 400000, 300000, 200000, 100000 Oops: I meant: Are you sure "f_init" can have a value of zero? Hein -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html