ALSA: usb-audio: Input source control - digidesign mbox
authorDamien Zammit <damien@zamaudio.com>
Fri, 13 Aug 2021 11:34:02 +0000 (21:34 +1000)
committerTakashi Iwai <tiwai@suse.de>
Sat, 14 Aug 2021 06:37:20 +0000 (08:37 +0200)
commit7ac2246f5670f42a3aac3eb05d23112f6ecfd4de
treea1683ccd98c28b98bb2989e5aafbe9ff6296ef6b
parentbda36b0fc2b6ab0c35d68c1cec8968ee4b920cd9
ALSA: usb-audio: Input source control - digidesign mbox

This adds a second mixer control to Digidesign Mbox
to select between Analog/SPDIF capture.

Users will note that selecting the SPDIF input source
automatically switches the clock mode to sync to SPDIF,
which is a feature of the hardware.

(You can change the clock source back to internal if you want
to capture from spdif but not sync to its clock although this mode
is probably not recommended).

Unfortunately, starting the stream resets both modes
to Internally clocked and Analog input mode.

Signed-off-by: Damien Zammit <damien@zamaudio.com>
Tested-by: Damien Zammit <damien@zamaudio.com>
Link: https://lore.kernel.org/r/20210813113402.11849-1-damien@zamaudio.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_quirks.c