Skip to content

usb: gadget: audio: add bi-directional volume and mute support

Pavel Hofman linux-usb 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 3 repliesIn review
  2. v24 patches 0 repliesSuperseded
  3. v14 patches 1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4usb: audio-v2: add ability to define feature unit descriptorinclude/linux/usb/audio-v2.h+14 -00 replies
2/4usb: gadget: u_audio: add bi-directional volume and mute supportdrivers/usb/gadget/function/u_audio.c drivers/usb/gadget/function/u_audio.h+380 -113 replies
3/4usb: gadget: f_uac2: add volume and mute supportDocumentation/ABI/testing/configfs-usb-gadget-uac2 Documentation/usb/gadget-testing.rst drivers/usb/gadget/function/f_uac2.c +1 more+638 -630 replies
4/4usb: gadget: f_uac1: add volume and mute supportDocumentation/ABI/testing/configfs-usb-gadget-uac1 Documentation/usb/gadget-testing.rst drivers/usb/gadget/function/f_uac1.c +1 more+700 -300 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/4] usb: gadget: audio: add bi-directional volume and mute support

These are patches implementing volume and mute support in audio gadget from Ruslan Bilovol
https://patchwork.kernel.org/project/linux-usb/list/?series=439931 rebased for the latest async feedback patches (Ruslan authored, Jerome modified) already pushed to mainline.

Patches 1 and 4 are basically intact, patches for f_uac2 had to be modified for the changes in the final feedback patches.

I tested the f_uac2 code to work correctly.

Rebased patches for switching among multiple rates originally authored by Julian Sheel https://lore.kernel.org/patchwork/patch/803422/ are to follow, thank you for reviewing and accepting this patchset first.

v3 - removed debug messages added for rebasing

Best regards,

Pavel Hofman.

Ruslan Bilovol (4):
usb: audio-v2: add ability to define feature unit descriptor
usb: gadget: u_audio: add bi-directional volume and mute support
usb: gadget: f_uac2: add volume and mute support
usb: gadget: f_uac1: add volume and mute support

 .../ABI/testing/configfs-usb-gadget-uac1      |  10 +
 .../ABI/testing/configfs-usb-gadget-uac2      |  10 +
 Documentation/usb/gadget-testing.rst          |  38 +-
 drivers/usb/gadget/function/f_uac1.c          | 674 +++++++++++++++++-
 drivers/usb/gadget/function/f_uac2.c          | 656 +++++++++++++++--
 drivers/usb/gadget/function/u_audio.c         | 369 +++++++++-
 drivers/usb/gadget/function/u_audio.h         |  22 +
 drivers/usb/gadget/function/u_uac1.h          |  20 +
 drivers/usb/gadget/function/u_uac2.h          |  23 +-
 include/linux/usb/audio-v2.h                  |  14 +
 10 files changed, 1732 insertions(+), 104 deletions(-)
Signature · 1 line
2.25.1