[PATCH v3 0/3] ALSA: usb-audio: fix for UAC2 mixer unit handling

From: Takashi Iwai

Date: Wed Sep 30 2026 - 11:56:37 EST


Hi,

here is a revised series of patches to address a long-standing issue
about handling of UAC2/3 mixer unit. We have some translation between
UAC1 and UAC2/3 feature and mixer units, but the latter is handled
incorrectly with a bogus wIndex. Also, the current code tries to
retrieve the information by multiple calls even though UAC2/3 can
already give in a shot. So there is an optimization for that in the
last patch, too.

Link: https://lore.kernel.org/d46fcac6-bd7e-4fc4-95e1-4e8d39f92ad3@xxxxxxxxxx


Takashi

v1: https://lore.kernel.org/20260929121558.1464094-1-tiwai@xxxxxxx
v2: https://lore.kernel.org/20260930132419.297102-1-tiwai@xxxxxxx

===

Takashi Iwai (3):
ALSA: usb-audio: Check mixer matrix size for UAC2/3 at parsing
ALSA: usb-audio: Fix UAC2 mixer unit request handling
ALSA: usb-audio: Optimize min/max/res parse for UAC2

sound/usb/mixer.c | 244 +++++++++++++++++++++++++++++-----------------
sound/usb/mixer.h | 2 +
2 files changed, 154 insertions(+), 92 deletions(-)

--
2.55.0