Re: [RFC 1/6] usb/dwc3: fix resource_index

2012-09-10 Thread Pratyush Anand
On 9/10/2012 9:33 PM, Felipe Balbi wrote: >- if (!dep->resource_index) >- return; the thing is that this will let us fall into a situation where we issue END_TRANSFER even when resource_index is zero, which isn't good at all. I will explain the situation: 1. isoc IN transfer has

Re: [RFC 1/6] usb/dwc3: fix resource_index

2012-09-10 Thread Felipe Balbi
HI, On Fri, Sep 07, 2012 at 10:03:45AM +0530, Pratyush Anand wrote: > We are clearing resource_index when we issue END TRANSFER command. which is just fine, actually... > Consider a situation, when we have executed END TRANSFER, core has > generated xfernotready, but gadget is too slow and have