[PATCH 0/4] More improvements on MIDI gadget function

From: Felipe F. Tonello
Date: Wed Dec 30 2015 - 14:07:54 EST


Patch 1:
The main improvement is the refactor of the state machine MIDI parser.
It is better to read and handles states properly, even weird ones.

Patch 3:
Fix a race condition.

Patches 3-4:
Miscelaneous fixes.

Felipe F. Tonello (4):
usb: gadget: f_midi: refactor state machine
usb: gadget: f_midi: added spinlock on transmit function
usb: gadget: f_midi: remove useless midi reference from port struct
usb: gadget: f_midi: add mutex_unlock under setup_fail label

drivers/usb/gadget/function/f_midi.c | 223 ++++++++++++++++++++++-------------
1 file changed, 143 insertions(+), 80 deletions(-)

--
2.6.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/