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

From: Takashi Iwai

Date: Wed Sep 30 2026 - 10:33:21 EST


Hi,

here is a 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, too.

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


Takashi

v1: https://lore.kernel.org/20260929121558.1464094-1-tiwai@xxxxxxx
v1->v2: addressed a few issues spotted by sashiko

===

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 | 241 +++++++++++++++++++++++++++++-----------------
sound/usb/mixer.h | 2 +
2 files changed, 152 insertions(+), 91 deletions(-)

--
2.55.0