[PATCH] usb: dwc2: gadget: ISOC's starting flow improvement

2018-07-27 Thread Minas Harutyunyan
To start ISOC transfers in handlers dwc2_gadget_handle_nak() and dwc2_gadget_handle_out_token_ep_disabled() driver reads current frame number, based on which, set target frame number to start first ISOC transfer. In case if system's high IRQ latency and multiple EP's asserted interrupt in same fra

Re: [PATCH] usb: dwc2: gadget: ISOC's starting flow improvement

2018-07-26 Thread Felipe Balbi
No top posting ;) Minas Harutyunyan writes: > Hi Felipe, > > This patch should be applied after follow patch from Artur Petrosyan: > > "[PATCH] usb: dwc2: Change reading of current frame number flow." Hasn't this been part of mainline for a while already? commit c7c24e7a047652c558e7aa4b0f54aa

Re: [PATCH] usb: dwc2: gadget: ISOC's starting flow improvement

2018-07-26 Thread Minas Harutyunyan
Hi Felipe, This patch should be applied after follow patch from Artur Petrosyan: "[PATCH] usb: dwc2: Change reading of current frame number flow." Thanks, Minas On 7/26/2018 2:45 PM, Felipe Balbi wrote: > Minas Harutyunyan writes: > >> To start ISOC transfers in handlers dwc2_gadget_handle_na

Re: [PATCH] usb: dwc2: gadget: ISOC's starting flow improvement

2018-07-26 Thread Felipe Balbi
Minas Harutyunyan writes: > To start ISOC transfers in handlers dwc2_gadget_handle_nak() and > dwc2_gadget_handle_out_token_ep_disabled() driver reads current frame > number, based on which, set target frame number to start first ISOC > transfer. > > In case if system's high IRQ latency and multi

[PATCH] usb: dwc2: gadget: ISOC's starting flow improvement

2018-05-24 Thread Minas Harutyunyan
To start ISOC transfers in handlers dwc2_gadget_handle_nak() and dwc2_gadget_handle_out_token_ep_disabled() driver reads current frame number, based on which, set target frame number to start first ISOC transfer. In case if system's high IRQ latency and multiple EP's asserted interrupt in same fra