On Saturday, December 18, 2010, Alan Stern wrote: > On Sat, 18 Dec 2010, Ohad Ben-Cohen wrote: > > > > Sounds to me like the difference isn't really in the driver, but the > > > core PM subsystem. Why does it care when powering off a device whether > > > it's during suspend, or during runtime? > > > > Agree. > > > > If we can add a dev_pm_info bit, that would allow using runtime PM API > > during suspend/resume transitions, the driver will not have to care. > > > > Rafael what do you think ? Is that totally unacceptable ? > > Have you forgotten about the "echo on >.../power/control" scenario? Well, that change would basically require the runtime PM framework to ignore the usage count for this particular device, which would defeat the framework's purpose to some extent, but it would cover the "echo on > ..." case. However, I'm not going to agree to make that change. Thanks, Rafael -- 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