Skip to content

ALSA: usb-audio: fix for UAC2 mixer unit handling

Takashi Iwai linux-sound lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v23 patches 0 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ALSA: usb-audio: Check mixer matrix size for UAC2/3 at parsingsound/usb/mixer.c+10 -00 replies
2/3ALSA: usb-audio: Fix UAC2 mixer unit request handlingsound/usb/mixer.c sound/usb/mixer.h+25 -00 replies
3/3ALSA: usb-audio: Optimize min/max/res parse for UAC2sound/usb/mixer.c+126 -940 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

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.

Takashi

v1: https://lore.kernel.org/[email protected]
v2: https://lore.kernel.org/[email protected]

===

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(-)
Signature · 1 line
2.55.0