Commit 6719cd5
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: a45cf0a ("ALSA: scarlett2: Fix Scarlett 4th Gen input gain range")
Message-ID: <Ze7OMA8ntG7KteGa@m.b4.vu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>1 parent a45cf0a commit 6719cd5
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
179 | 182 | | |
180 | 183 | | |
181 | 184 | | |
| |||
3466 | 3469 | | |
3467 | 3470 | | |
3468 | 3471 | | |
3469 | | - | |
| 3472 | + | |
3470 | 3473 | | |
3471 | 3474 | | |
3472 | 3475 | | |
| |||
3543 | 3546 | | |
3544 | 3547 | | |
3545 | 3548 | | |
3546 | | - | |
| 3549 | + | |
3547 | 3550 | | |
3548 | 3551 | | |
3549 | 3552 | | |
| |||
0 commit comments