OSDN Git Service

ALSA: usb-audio: AudioStreaming Power Domain parsing
authorJorge Sanjuan <jorge.sanjuan@codethink.co.uk>
Tue, 31 Jul 2018 12:28:43 +0000 (13:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 31 Jul 2018 13:01:30 +0000 (15:01 +0200)
commit7edf3b5e6a4544b42d3572a7058f8ffe96349ee8
tree3e19f5b92d3e3cddfd0c8401b90e9709557f6163
parent11785ef53228d23ec386f5fe4a34601536f0c891
ALSA: usb-audio: AudioStreaming Power Domain parsing

Power Domains in the UAC3 spec are mainly intended to be
associated to an Input or Output Terminal so the host
changes the power state of the entire capture or playback
path within the topology.

This patch adds support for finding Power Domains associated
to an Audio Streaming Interface (bTerminalLink) and adds a
reference to them in the usb audio substreams (snd_usb_substream).

Signed-off-by: Jorge Sanjuan <jorge.sanjuan@codethink.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.h
sound/usb/stream.c