# \[PATCH v2 0/5\] usb: gadget: audio fixes and clean ups

- From: Jerome Brunet \<jbrunet@baylibre.com\>
- Date: 2021-01-06 13:38:05 
- List: linux-usb
- Page: https://ratatoskr.run/linux-usb/2021/01/6225416
- Thread: https://ratatoskr.run/linux-usb/2021/01/6225416/t.md

```text
This patchset is a collection of fixes and clean ups found while
working on the uac2 gadget. Details are provided in each change.

Changes since v1: [1]
 * Jack's patch added to the series (no more deps)
 * Warning [2] on Patch 3 fixed

[1]: https://lore.kernel.org/r/20201221173531.215169-1-jbrunet@baylibre.com
[2]: https://lore.kernel.org/r/202012291638.QiDQi3Gs-lkp@intel.com

Jack Pham (1):
  usb: gadget: u_audio: Free requests only after callback

Jerome Brunet (4):
  usb: gadget: f_uac2: reset wMaxPacketSize
  usb: gadget: u_audio: factorize ssize to alsa fmt conversion
  usb: gadget: u_audio: remove struct uac_req
  usb: gadget: u_audio: clean up locking

 drivers/usb/gadget/function/f_uac2.c  |  69 +++++++++++---
 drivers/usb/gadget/function/u_audio.c | 130 +++++++++++---------------
 2 files changed, 112 insertions(+), 87 deletions(-)

-- 
2.29.2

```
