Hi Mark, I confess I've completely lost track of (a) what problem you are trying to solve, and (b) how this might relate to some change that you'd like to see in the suspend block API. Could you do a quick summary and recap? I've gone over the entire thread, and it's still not clear what change you're advocating for in suspend blockers. Thanks, regards, - Ted On Wed, May 05, 2010 at 08:52:50PM +0100, Mark Brown wrote: > On Wed, May 05, 2010 at 08:22:08PM +0100, Matthew Garrett wrote: > > On Wed, May 05, 2010 at 03:13:52PM -0400, Alan Stern wrote: > > > > Does it know when a call is in progress? > > > Perhaps you could infer that from the audio routing setup? I don't know > > enough about embedded codecs. > > Yes, you can providing we extract a bit more information from the > machine drivers and/or userspace - we already do our power management > based on paths. The implementation I'd do here is to provide a facility > for marking some of the path endpoints as suspend insensitive then on > suspend leave those endpoints in their current state, force the other > endpoints off temporarily and re-run the standard power checks. > > One thing I'll need to have a bit of a think about is if we need to > provide the ability to offer control to userspace for the suspend state > of path endpoints separately to their runtime state; I suspect the > answer is yes. > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm