RE: [PATCH v2 4/8] usb: dwc3: implement stream transfer timeout

2018-09-05 Thread Anurag Kumar Vulisha
Hi Thinh, >dwc3_gadget_endpoint_transfer_in_progress(struct dwc3_ep *dep, >> stop = true; >> } >> >> +/* >> + * Delete the timer that was started in __dwc3_gadget_kick_transfer() >> + * for stream capable endpoints. >> + */ >> +if (dep->stream_capable)

Re: [PATCH v2 4/8] usb: dwc3: implement stream transfer timeout

2018-09-04 Thread Thinh Nguyen
On 8/17/2018 5:25 AM, Anurag Kumar Vulisha wrote: > According to dwc3 databook when streams are used, it may be possible > for the host and device become out of sync, where device may wait for > host to issue prime transcation and host may wait for device to issue > erdy. To avoid such deadlock, ti