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

Clemens Ladisch
2016-03-02T21:15:08Z

Felipe F. Tonello wrote:
> This refactor results in a cleaner state machine code

It increases the number of states, and now juggles two state variables.
I cannot agree to it being cleaner.

> and as a result fixed a bug when packaging a USB-MIDI packet right after
> a non-conformant MIDI byte stream.

I have been unable to determine where exactly the new code behaves
differently. Can you show an example?

Regards,
Clemens