Re: [PATCH 04/23] usb: gadget: f_loopback: free requests in loopback_disable()

2015-11-04 Thread Robert Baldyga
On 11/04/2015 11:15 AM, Felipe Ferreri Tonello wrote: > Hi Robert, > > On 03/11/15 12:53, Robert Baldyga wrote: >> USB requests in Loopback function are allocated in loopback_get_alt() >> function, so we prefer to free them rather in loopback_disable() than >> in loopback_complete() when request i

Re: [PATCH 04/23] usb: gadget: f_loopback: free requests in loopback_disable()

2015-11-04 Thread Felipe Ferreri Tonello
Hi Robert, On 03/11/15 12:53, Robert Baldyga wrote: > USB requests in Loopback function are allocated in loopback_get_alt() > function, so we prefer to free them rather in loopback_disable() than > in loopback_complete() when request is completed with error. It provides > better symetry in resourc