]> git.ipfire.org Git - thirdparty/linux.git/commit
ALSA: scarlett2: Fix 2i2 Gen 4 direct monitor gain on firmware 2417
authorGeoffrey D. Bennett <g@b4.vu>
Sat, 23 May 2026 21:04:14 +0000 (06:34 +0930)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 May 2026 07:24:56 +0000 (09:24 +0200)
commitdb37cf47b67e38ade40de5cd74a4d4d772ff1416
tree0e9fc87bf35a233cc767c60c75b3a11463719f93
parent4cc54bdd54b337e77115be5b55577d1c58608eae
ALSA: scarlett2: Fix 2i2 Gen 4 direct monitor gain on firmware 2417

Firmware 2417 for the Scarlett 4th Gen 2i2 moved the direct monitor
gain parameter by 4 bytes, from offset 0x2a0 to 0x2a4, breaking the
"Direct Monitor X Mix Y" controls.

Special-case the offset in the get/set config helpers when the
running firmware is 2417 or later.

Fixes: 4e809a299677 ("ALSA: scarlett2: Add support for Solo, 2i2, and 4i4 Gen 4")
Cc: <stable@vger.kernel.org>
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Link: https://patch.msgid.link/ahIWTueUlWA5xiV+@m.b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_scarlett2.c