ALSA: scarlett2: Add support for air/phantom control on input 2
authorGeoffrey D. Bennett <g@b4.vu>
Tue, 26 Dec 2023 18:06:21 +0000 (04:36 +1030)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Dec 2023 14:52:12 +0000 (15:52 +0100)
commitdd57b1213ab60ec9ad603507bd25ed069f9a6b61
tree2e5e3603ea0d83046c4894aadb1e9a5de9fb1441
parent4dedf7ca929a3f29fbed973e85372056d69a1848
ALSA: scarlett2: Add support for air/phantom control on input 2

The Focusrite Scarlett Gen 4 Solo has Air and Phantom Power controls
on analogue input #2 (the Gen 3 Solo had these controls on analogue
input #1). Add air_input_first and phantom_first device info options
to cater for this.

These options are similar to the level_input_first option that was
added for the Gen 3 Solo, but these new options do not require
adjusting the index of the control.

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