On Thu, Oct 28, 2010 at 8:41 PM, Kishore Kadiyala <kishorek.kadiyala@xxxxxxxxx> wrote: > Nicolas, > > <snip > >> >>> 2.a) Card sleep, Power cutoff to the card: >>> This should be handled in the core where based on block layer >>> activity, calling corresponding API's from bus layer: >>> mmc_power_save_host/ mmc_power_restore_host >> >> Same issue here. Card power is for the core to decide, but the >> controller driver may perform opportunistic power down of the controller >> itself when it is possible and the core does not need to know about it. > > I think card power decision is taken care in the core as per below patch : > https://patchwork.kernel.org/patch/226631/ Actually I was looking into the series posted by Ohad - https://patchwork.kernel.org/patch/226611/ . Looking at the below patches, which takes care of card power off/on once adapted to PM-Runtime https://patchwork.kernel.org/patch/226631/ https://patchwork.kernel.org/patch/226671/ Wouldn't adapting the host driver just to PM-Runtime will answer the above issues? Regards, Kishore > > And regarding "opportunistic power down of the controller" can be done by > adapting driver to PM-Runtime > > <snip> > > Regards, > Kishore > -- 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