Skip to content

ALSA: usb-audio: some more fixes

Takashi Iwai linux-sound 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ALSA: usb-audio: Cap the packet size pre-calculationssound/usb/endpoint.c+3 -00 replies
2/4ALSA: usb-audio: Check max frame size for implicit feedback mode, toosound/usb/endpoint.c+1 -00 replies
3/4ALSA: usb-audio: Avoid implicit feedback mode on DIYINHK USB Audio 2.0sound/usb/quirks.c+2 -00 replies
4/4ALSA: usb-audio: Use inclusive termssound/usb/endpoint.c+3 -30 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] ALSA: usb-audio: some more fixes

The packet sizes may be limited by the device or the controller than expected, but the current driver code ignores the limit in some cases. This results in an error from USB core at submitting URBs.

Also, a device DIYNHK USB Audio 2.0 showed such a reduced packet size for 24/32 bit format, although it declares to be an implicit feedback. This doesn't work because of the implicit feedback mechanism. Since the device itself has been working even before the implicit fb is used, so we can safely assume that we can skip the implicit fb for this device.

Last but not least, there was an overlook in the previous conversion for inclusive terms, and fixed now.

Takashi

===

Takashi Iwai (4):
ALSA: usb-audio: Cap the packet size pre-calculations
ALSA: usb-audio: Check max frame size for implicit feedback mode, too
ALSA: usb-audio: Avoid implicit feedback mode on DIYINHK USB Audio 2.0
ALSA: usb-audio: Use inclusive terms

 sound/usb/endpoint.c | 10 +++++++---
 sound/usb/quirks.c   |  2 ++
 2 files changed, 9 insertions(+), 3 deletions(-)
Signature · 1 line
2.53.0