Re: [PATCH 1/2] usb: gadget: f_midi: refactor state machine

From: Felipe Balbi
Date: Tue Dec 22 2015 - 12:49:21 EST



Hi,

"Felipe F. Tonello" <eu@xxxxxxxxxxxxxxxxx> writes:
> This refactor includes the following:
> * Cleaner state machine code;
> * Reset state if MIDI message parsed is non-conformant;
> * Fixed bug when a conformant MIDI message was followed by a non-conformant
> causing the MIDI-USB message to use old temporary data (port->data[0..1]),
> thus packing a wrong MIDI-USB request.

we don't do more than one logical thing per patch. Please split this up.

--
balbi

Attachment: signature.asc
Description: PGP signature