[PATCHv3 00/11] Fixes and improvements to f_fs and f_midi

From: Michal Nazarewicz
Date: Tue Jan 26 2016 - 09:53:40 EST

Resending my previous two sets for f_fs and f_midi. This time rebased
on top of Felipeâs next branch.

Dan Carpenter (1):
usb: gadget: f_midi: missing unlock on error path

Du, Changbin (1):
usb: f_fs: avoid race condition with ffs_epfile_io_complete

Felipe F. Tonello (1):
usb: gadget: f_midi: remove useless midi reference from port struct

Michal Nazarewicz (8):
usb: f_fs: fix memory leak when ep changes during transfer
usb: f_fs: fix ffs_epfile_io returning success on req alloc failure
usb: f_fs: replace unnecessary goto with a return
usb: f_fs: refactor ffs_epfile_io
usb: gadget: f_midi: move some of f_midi_transmit to separate func
usb: gadget: f_midi: fix in_last_port looping logic
usb: gadget: f_midi: use flexible array member for gmidi_in_port
usb: gadget: f_midi: stash substream in gmidi_in_port structure

drivers/usb/gadget/function/f_fs.c | 155 +++++++++++++--------------
drivers/usb/gadget/function/f_midi.c | 200 ++++++++++++++++-------------------
2 files changed, 164 insertions(+), 191 deletions(-)