ALSA: scarlett2: Add S/PDIF source selection controls
authorGeoffrey D. Bennett <g@b4.vu>
Sat, 11 May 2024 08:57:45 +0000 (18:27 +0930)
committerTakashi Iwai <tiwai@suse.de>
Sun, 12 May 2024 09:41:07 +0000 (11:41 +0200)
commitd5ca9ad58e15e4169d75c54b2b4dfebaaee0931f
treef7a773db8c4afbdabca353f12273032e53509c98
parentda0713fff528112890aac02fea08937b65d5c8ba
ALSA: scarlett2: Add S/PDIF source selection controls

Add S/PDIF Source/Digital I/O Mode selection controls for the Scarlett
3rd Gen 18i8/18i20 and Clarett 4Pre/8Pre interfaces. These models have
both coax S/PDIF and optical inputs, and the optical inputs are
switchable between being used as S/PDIF and ADAT inputs. The Scarlett
3rd Gen 18i20 also has a "Dual ADAT" mode for 8-channel audio at
88.2/96kHz.

Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Link: https://lore.kernel.org/r/Zj8zCTjzPsTDENN+@m.b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_scarlett2.c