]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: update clock valid control
authorAndrew Chant <achant@google.com>
Sat, 24 Mar 2018 02:25:24 +0000 (19:25 -0700)
committerTakashi Iwai <tiwai@suse.de>
Sat, 24 Mar 2018 08:50:34 +0000 (09:50 +0100)
commit3e20d5ccb99c0aeb366d483c0d25902a7a03c77f
tree2c26fc2be5cdaff4aee3faf7b3f0565c1298acff
parent2bd8d922e9cb734fecf011f3929fd74c998ebdea
ALSA: usb-audio: update clock valid control

Make the "clock valid" control a global control instead of a mixer
so that it doesn't appear in mixer applications.

Additionally, remove the check for writeability prohibited by spec, and
Use common code to read the control value.

Tested with a UAC2 Audio device that presents a clock validity
control.  The control still shows up in /proc usbmixer but not
in alsamixer.

Signed-off-by: Andrew Chant <achant@google.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c