]> exis.tech > repos - linux.git/commit
ALSA: usb-audio: Fix imbalance per-channel volume of sticky mixers
authorRong Zhang <i@rong.moe>
Sun, 5 Jul 2026 18:19:31 +0000 (02:19 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 6 Jul 2026 08:22:43 +0000 (10:22 +0200)
commitea588e4c7484ea883d3dab308f1f2c2f0f51f7d6
tree604b3bd7a611dd1aec4e1cfcd363c3d97444072b
parentaba30af07d4fe499b50209801eba9da8a815522f
ALSA: usb-audio: Fix imbalance per-channel volume of sticky mixers

I accidentally made an off-by-a-line mistake when mimicking other code
paths that set all channels. The mistake breaks sticky mixers with
multiple channels.

I didn't realize this mistake at that time, as my device's mixer is
single-channel.

Fix it, so that per-channel volume of sticky mixers is balanced.

Fixes: aa2f4addab44 ("ALSA: usb-audio: Set the value of potential sticky mixers to maximum")
Signed-off-by: Rong Zhang <i@rong.moe>
Link: https://patch.msgid.link/20260706-uac-sticky-channels-fix-v1-1-92741c538283@rong.moe
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c