mbox series

[v2,0/5] USB Audio Gadget part 1: misc fixes and improvements

Message ID 1614599375-8803-1-git-send-email-ruslan.bilovol@gmail.com
Headers show
Series USB Audio Gadget part 1: misc fixes and improvements | expand

Message

Ruslan Bilovol March 1, 2021, 11:49 a.m. UTC
Here are some bug fixes and improvements to
USB Audio Gadget drivers which I made during
my work on a new UAC features like feedback endpoint
implementation and Volume/Mute controls.

That's nice bugfixes/improvements that I expect get
applied faster than coming new features thus sent them
as 'part 1'

The new UAC features will be sent as a separate
patch set (aka 'part 2')

v2: fixed possible NULL-ptr issue with input parameters
    validation

Ruslan Bilovol (5):
  usb: gadget: f_uac2: always increase endpoint max_packet_size by one
    audio slot
  usb: gadget: f_uac1: stop playback on function disable
  usb: gadget: f_uac2: validate input parameters
  usb: gadget: f_uac1: validate input parameters
  usb: gadget: f_uac1: disable IN/OUT ep if unused

 drivers/usb/gadget/function/f_uac1.c | 273 ++++++++++++++++++++++++++---------
 drivers/usb/gadget/function/f_uac2.c |  41 +++++-
 2 files changed, 245 insertions(+), 69 deletions(-)