Skip to content

RFC v2 for snd-usb endpoint logic rework

Daniel Mack alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ALSA: snd-usb: add snd_usb_audio-wide mutexsound/usb/card.c sound/usb/usbaudio.h+3 -00 replies
2/5ALSA: snd-usb: implement new endpoint streaming modelsound/usb/card.h sound/usb/endpoint.c sound/usb/endpoint.h +1 more+986 -110 replies
3/5ALSA: snd-usb: switch over to new endpoint streaming logicsound/usb/card.c sound/usb/card.h sound/usb/endpoint.c +3 more+389 -1190 replies
4/5ALSA: snd-usb: remove old streaming logicsound/usb/endpoint.c sound/usb/endpoint.h+41 -8910 replies
5/5ALSA: snd-usb: add support for implicit feedbacksound/usb/pcm.c+26 -111 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] RFC v2 for snd-usb endpoint logic rework

This is v2 of the patch bulk I posted some weeks ago, which incoporates the points that were discussed. Thanks to everyone who commented and helped with sugesstions.

This version work really well here, but as last time, it needs a lot more testing. What's still missing are some cleanups and more documentation, I'll do that once the acutal content is agreed upon.

Patches should apply cleanly to the latest mainline git + Takashi's sound tree.

Thanks for any feedback for this next round,
Daniel

Daniel Mack (5):
ALSA: snd-usb: add snd_usb_audio-wide mutex
ALSA: snd-usb: implement new endpoint streaming model
ALSA: snd-usb: switch over to new endpoint streaming logic
ALSA: snd-usb: remove old streaming logic
ALSA: snd-usb: add support for implicit feedback

 sound/usb/card.c     |    8 +-
 sound/usb/card.h     |   65 +++
 sound/usb/endpoint.c | 1434 +++++++++++++++++++++++++-------------------------
 sound/usb/endpoint.h |   31 +-
 sound/usb/pcm.c      |  444 +++++++++++++---
 sound/usb/stream.c   |   31 +-
 sound/usb/usbaudio.h |    2 +
 7 files changed, 1214 insertions(+), 801 deletions(-)
Signature · 1 line
1.7.5.4