On 6 December 2010 17:57, Daniel Drake <dsd@xxxxxxxxxx> wrote: > I've dug down and I think that runtime PM is doing basically nothing. > i.e. when the system decides to runtime-suspend my SD card, nothing > actually happens to the SD card. It remains fully powered and > untouched. I'm basing this assumption on mmc_power_save_host() which > relies entirely on host->bus_ops->power_save() doing the actual > power-down work. On sdhci this method does not exist. Sorry, I now realise there are a number of confusions in my earlier mail. power_save is done by the bus, not the host, and the host does get its opportunity to power down via the set_ios callback that comes in telling it to turn the card off. Still can't get our card to reset properly though. Tried sprinking some sdhci_reset and sdhci_reinit calls around, no luck. We do know that it can be powered down and up just fine at runtime via mmc_stop_host then mmc_start_host. So there's something that happens in that path which does not occur with runtime pm... Daniel -- 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