[lkml]   [2010]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 0/8] Suspend block api (version 6)
    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.

     \ /
      Last update: 2010-05-05 21:55    [W:0.021 / U:8.732 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site