Re: [PATCH v2] usb: dwc3: gadget: wait for End Transfer to complete

2016-11-01 Thread Baolin Wang
Hi, On 1 November 2016 at 19:36, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> Hi, >> >> On 1 November 2016 at 19:01, Felipe Balbi wrote: >>> >>> Hi, >>> >>> Baolin Wang writes: Changes since v1:

Re: [PATCH v2] usb: dwc3: gadget: wait for End Transfer to complete

2016-11-01 Thread Felipe Balbi
Hi, Baolin Wang writes: > Hi, > > On 1 November 2016 at 19:01, Felipe Balbi wrote: >> >> Hi, >> >> Baolin Wang writes: >>> Changes since v1: >>> - Move the suspend checking to right place to avoid checking twice. >> >> there

Re: [PATCH v2] usb: dwc3: gadget: wait for End Transfer to complete

2016-11-01 Thread Baolin Wang
Hi, On 1 November 2016 at 19:01, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> Changes since v1: >> - Move the suspend checking to right place to avoid checking twice. > > there is still one problem > >> @@ -1736,12 +1739,38 @@ static int

Re: [PATCH v2] usb: dwc3: gadget: wait for End Transfer to complete

2016-11-01 Thread Felipe Balbi
Hi, Baolin Wang writes: > Changes since v1: > - Move the suspend checking to right place to avoid checking twice. there is still one problem > @@ -1736,12 +1739,38 @@ static int dwc3_gadget_stop(struct usb_gadget *g) > { > struct dwc3 *dwc =