ALSA: scarlett2: Fix Scarlett 4th Gen input gain range
authorGeoffrey D. Bennett <g@b4.vu>
Sun, 10 Mar 2024 10:34:59 +0000 (21:04 +1030)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Mar 2024 08:15:34 +0000 (09:15 +0100)
commita45cf0a0834779c741ac204c0320469e9aaef006
treea40e2a6c6cc9d8cd4d473af247e329e7f2957d0b
parentbe157c4683a91857d3fdf319117c9b9dc6e8a849
ALSA: scarlett2: Fix Scarlett 4th Gen input gain range

The input gain range TLV was declared as -70dB to 0dB, but the preamp
gain range is actually 0dB to +70dB. Rename SCARLETT2_GAIN_BIAS to
SCARLETT2_MAX_GAIN and update the TLV to fix.

Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Fixes: 0a995e38dc44 ("ALSA: scarlett2: Add support for software-controllable input gain")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Message-ID: <9168317b5ac5335943d3f14dbcd1cc2d9b2299d0.1710047969.git.g@b4.vu>
sound/usb/mixer_scarlett2.c