ALSA: scarlett2: Add support for software-controllable input gain
authorGeoffrey D. Bennett <g@b4.vu>
Tue, 26 Dec 2023 18:07:12 +0000 (04:37 +1030)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Dec 2023 14:52:13 +0000 (15:52 +0100)
commit0a995e38dc440fdfe658a5ebf19bf6eb647a0f5f
tree447276b42058b1fc11530172c07522a16b723925
parent038216f2bc85167449359cb4eec5fc5bfffbe4ef
ALSA: scarlett2: Add support for software-controllable input gain

Some devices in the Scarlett Gen 4 series have support for
software-controllable input gain. Along with this comes a channel
select option, an auto-gain feature, "safe" mode, and linking two
channels into a stereo pair.

Mark the new scarlett2_notify_input_*() functions with __always_unused
until they get used when the Gen 4 notification callback function
arrays are added.

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