> 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 themachine drivers and/or userspace - we already do our power managementbased on paths. The implementation I'd do here is to provide a facilityfor marking some of the path endpoints as suspend insensitive then onsuspend leave those endpoints in their current state, force the otherendpoints 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 toprovide the ability to offer control to userspace for the suspend stateof path endpoints separately to their runtime state; I suspect theanswer is yes.