]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - sound/usb/Makefile
ALSA: usb-audio: Initial Power Domain support
authorJorge Sanjuan <jorge.sanjuan@codethink.co.uk>
Tue, 31 Jul 2018 12:28:42 +0000 (13:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 31 Jul 2018 13:01:22 +0000 (15:01 +0200)
commit11785ef53228d23ec386f5fe4a34601536f0c891
treeecdf75859e73b7671550204c42d1dd6949bb8288
parent89b4ab213feb11a5bece544cfa12374f66c2c47c
ALSA: usb-audio: Initial Power Domain support

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: Jorge Sanjuan <jorge.sanjuan@codethink.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/linux/usb/audio-v3.h
sound/usb/Makefile
sound/usb/power.c [new file with mode: 0644]
sound/usb/power.h