On Mon, 8 Nov 2010, Linus Walleij wrote: > Ohad Ben-Cohen wrote: > > > So the decision whether to enable clock gating for SDIO should not be > > static (eventually. I'm not saying this is something Linus should take > > care of in his patch, it's up to us to make this work). By default, > > SDIO clock gating should be disabled, but we need to allow drivers to > > explicitly enable it if supported. > > I currently (patch v8) disable gating for all SDIO cards, > but I guess there are two approaches to cases where you'd > like to enable it: > > - Card (including SDIO device) whitelisting. > > - Host whitelisting - for the case where as gateable SDIO > device is soldered to the bus. > > The first looks like big-ish so would be a separate patch, but a > host flag for the latter like MMC_CAP_GATE_SDIO can easily be > folded into a v10 of this patch. No. Please don't put such capability flag with the host. This is still a card specific issue, whether or not it is soldered on the board. So the first option would be the way to go. Nicolas -- 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