mbox series

[v2,0/4] usb: gadget: audio: add bi-directional volume and mute support

Message ID 20210711095351.16877-1-pavel.hofman@ivitera.com
Headers show
Series usb: gadget: audio: add bi-directional volume and mute support | expand

Message

Pavel Hofman July 11, 2021, 9:53 a.m. UTC
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.

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          | 659 +++++++++++++++--
 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, 1735 insertions(+), 104 deletions(-)