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

From: Ruslan Bilovol
Date: Mon Mar 01 2021 - 06:53:30 EST


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(-)

--
1.9.1