Re: [PATCH] usb: dwc3: gadget: giveback request if start transfer fail

2014-05-02 Thread Felipe Balbi
Hi, On Sat, May 03, 2014 at 12:05:41AM -0400, Zhuang Jin Can wrote: > On Thu, May 01, 2014 at 10:13:28AM -0500, Felipe Balbi wrote: > > On Thu, May 01, 2014 at 04:44:52PM -0400, Zhuang Jin Can wrote: > > > On Wed, Apr 30, 2014 at 02:58:29PM -0500, Felipe Balbi wrote: > > > > On Thu, May 01, 2014 a

Re: [PATCH] usb: dwc3: gadget: giveback request if start transfer fail

2014-05-02 Thread Zhuang Jin Can
Hi, On Thu, May 01, 2014 at 10:13:28AM -0500, Felipe Balbi wrote: > On Thu, May 01, 2014 at 04:44:52PM -0400, Zhuang Jin Can wrote: > > On Wed, Apr 30, 2014 at 02:58:29PM -0500, Felipe Balbi wrote: > > > On Thu, May 01, 2014 at 02:36:08AM -0400, Zhuang Jin Can wrote: > > > > At least we should giv

Re: [PATCH] usb: dwc3: gadget: giveback request if start transfer fail

2014-05-01 Thread Felipe Balbi
Hi, On Thu, May 01, 2014 at 04:44:52PM -0400, Zhuang Jin Can wrote: > On Wed, Apr 30, 2014 at 02:58:29PM -0500, Felipe Balbi wrote: > > On Thu, May 01, 2014 at 02:36:08AM -0400, Zhuang Jin Can wrote: > > > At least we should giveback the current request to the > > > gadget. Otherwise, the gadget w

Re: [PATCH] usb: dwc3: gadget: giveback request if start transfer fail

2014-05-01 Thread Zhuang Jin Can
Hi Balbi, On Wed, Apr 30, 2014 at 02:58:29PM -0500, Felipe Balbi wrote: > On Thu, May 01, 2014 at 02:36:08AM -0400, Zhuang Jin Can wrote: > > At least we should giveback the current request to the > > gadget. Otherwise, the gadget will be stuck without knowing > > anything. > > > > It was oberved

Re: [PATCH] usb: dwc3: gadget: giveback request if start transfer fail

2014-04-30 Thread Felipe Balbi
Hi, On Thu, May 01, 2014 at 02:36:08AM -0400, Zhuang Jin Can wrote: > At least we should giveback the current request to the > gadget. Otherwise, the gadget will be stuck without knowing > anything. > > It was oberved that the failure can happen if the request is > queued when the run/stop bit of

[PATCH] usb: dwc3: gadget: giveback request if start transfer fail

2014-04-30 Thread Zhuang Jin Can
At least we should giveback the current request to the gadget. Otherwise, the gadget will be stuck without knowing anything. It was oberved that the failure can happen if the request is queued when the run/stop bit of controller is not set. Signed-off-by: Zhuang Jin Can --- drivers/usb/dwc3/gad