ALSA: scarlett2: Define the maximum preamp input gain per-config-set
authorGeoffrey D. Bennett <g@b4.vu>
Tue, 12 Mar 2024 18:35:57 +0000 (05:05 +1030)
committerTakashi Iwai <tiwai@suse.de>
Thu, 18 Apr 2024 06:31:14 +0000 (08:31 +0200)
commit87b73d48a58359922a98352091c4ccb6f463df55
tree170a010b457929a9c8704044414ffdbba598a918
parent1e48ddb7d71f6a48f5d871864046e33fd94deb99
ALSA: scarlett2: Define the maximum preamp input gain per-config-set

Remove the #define SCARLETT2_MAX_GAIN_DB and replace with a
per-config-set TLV as the Vocaster has a maximum gain of 70dB vs the
4th Gen 69dB.

Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Message-ID: <ade8e18ce38927ea0224946ec7cfea23ad3793d8.1710264833.git.g@b4.vu>
sound/usb/mixer_scarlett2.c