]> www.infradead.org Git - users/willy/xarray.git/commit
ALSA: scarlett2: Fix Scarlett 4th Gen input gain range again
authorGeoffrey D. Bennett <g@b4.vu>
Mon, 11 Mar 2024 09:26:08 +0000 (19:56 +1030)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Mar 2024 12:37:39 +0000 (13:37 +0100)
commit6719cd5e45111449f4021e08f2e488f17a9b292b
tree2805ab33e6a3dae697fb6e8081962da078063bce
parenta45cf0a0834779c741ac204c0320469e9aaef006
ALSA: scarlett2: Fix Scarlett 4th Gen input gain range again

The 4th Gen input preamp gain range is 0dB to +69dB, although the
control values range from 0 to 70. Replace SCARLETT2_MAX_GAIN with
SCARLETT2_MAX_GAIN_VALUE and SCARLETT2_MAX_GAIN_DB, and update the TLV
again.

Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Fixes: a45cf0a08347 ("ALSA: scarlett2: Fix Scarlett 4th Gen input gain range")
Message-ID: <Ze7OMA8ntG7KteGa@m.b4.vu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_scarlett2.c