Here is the third version of this patch set. It includes memory leakage bug fix, improvements and code cleanups. Felipe F. Tonello (4): usb: gadget: f_midi: free usb request when done usb: gadget: f_midi: free request when usb_ep_queue fails usb: gadget: f_midi: Transmit data only when IN ep is enabled usb: gadget: f_midi: remove duplicated code drivers/usb/gadget/function/f_midi.c | 36 +++++++++++------------------------- 1 file changed, 11 insertions(+), 25 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html