> > > 2. Ideally host-driver driver should not tell the core to shut down > > > the upper layers, instead the core should decide when to > > > "disabled clock or cut the power". > > > > How will the core know ? > > > > Are you saying that MMC core needs to be adapted first to RUNTIME PM? I think the runtime pm layer actually does help solve the problem - because it allows both the driver and the core to defer power off. To me the fundamental problem is that the MMC/SDHCI core thinks it is all knowing, when in reality silicon designers are far too good at producing weird, whacky, broken and otherwise bizarre implementations. Eventually it will all break because a design comes along which is common, and sufficiently different. (PS: this should be discussed on the list not via some random collection of email addresses) Alan -- 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