Re: [PATCH 2/3] usb: gadget: f_midi: free usb request when done

2015-09-23 Thread Felipe Tonello
Hi Alan, On Wed, Sep 23, 2015 at 3:30 PM, Alan Stern wrote: > On Wed, 23 Sep 2015, Felipe Tonello wrote: > >> Hi Peter, >> >> On Wed, Sep 23, 2015 at 4:10 AM, Peter Chen wrote: >> > On Tue, Sep 22, 2015 at 07:59:09PM +0100, Felipe F. Tonello wrote: >> >> req->actual == req->length means that the

Re: [PATCH 2/3] usb: gadget: f_midi: free usb request when done

2015-09-23 Thread Alan Stern
On Wed, 23 Sep 2015, Felipe Tonello wrote: > Hi Peter, > > On Wed, Sep 23, 2015 at 4:10 AM, Peter Chen wrote: > > On Tue, Sep 22, 2015 at 07:59:09PM +0100, Felipe F. Tonello wrote: > >> req->actual == req->length means that there is no data left to enqueue, > >> so free the request. > >> > >> Si

Re: [PATCH 2/3] usb: gadget: f_midi: free usb request when done

2015-09-23 Thread Felipe Tonello
Hi Peter, On Wed, Sep 23, 2015 at 4:10 AM, Peter Chen wrote: > On Tue, Sep 22, 2015 at 07:59:09PM +0100, Felipe F. Tonello wrote: >> req->actual == req->length means that there is no data left to enqueue, >> so free the request. >> >> Signed-off-by: Felipe F. Tonello >> --- >> drivers/usb/gadge

Re: [PATCH 2/3] usb: gadget: f_midi: free usb request when done

2015-09-22 Thread Peter Chen
On Tue, Sep 22, 2015 at 07:59:09PM +0100, Felipe F. Tonello wrote: > req->actual == req->length means that there is no data left to enqueue, > so free the request. > > Signed-off-by: Felipe F. Tonello > --- > drivers/usb/gadget/function/f_midi.c | 5 - > 1 file changed, 4 insertions(+), 1 de

Re: [PATCH 2/3] usb: gadget: f_midi: free usb request when done

2015-09-22 Thread Felipe Balbi
On Tue, Sep 22, 2015 at 07:59:09PM +0100, Felipe F. Tonello wrote: > req->actual == req->length means that there is no data left to enqueue, > so free the request. > > Signed-off-by: Felipe F. Tonello > --- > drivers/usb/gadget/function/f_midi.c | 5 - > 1 file changed, 4 insertions(+), 1 de