• Jorge Sanjuan's avatar
    ALSA: usb-audio: Initial Power Domain support · 11785ef5
    Jorge Sanjuan authored
    Thee USB Audio Class 3 (UAC3) introduces Power Domains as a new
    feature to let a host turn individual parts of an audio function
    to different power states via USB requests. This lets the device
    get to know a bit amore about what the host is up to in order to
    optimize power consumption efficiently.
    
    The Power Domains are optional for UAC3 configuration but all
    UAC3 devices shall include at least one BADD configuration where
    the support for Power Domains is compulsory.
    
    This patch adds a set of features/helpers to parse these power
    domains and change their status.
    Signed-off-by: default avatarJorge Sanjuan <jorge.sanjuan@codethink.co.uk>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    11785ef5
power.c 2.43 KB