Re: [PATCH] usb: dwc3: gadget: Fix starting microframe for ISOC

2017-03-10 Thread Felipe Balbi
John Youn writes: > The gadget wants to set the starting microframe for the first ISOC TRB > to 4 microframes in the future, but it does so by multiplying the > dep->interval. This only works if dep->interval = 1. For other intervals > it will put it 4 *intervals* in the

[PATCH] usb: dwc3: gadget: Fix starting microframe for ISOC

2017-01-26 Thread John Youn
The gadget wants to set the starting microframe for the first ISOC TRB to 4 microframes in the future, but it does so by multiplying the dep->interval. This only works if dep->interval = 1. For other intervals it will put it 4 *intervals* in the future which may be way too much. Fix so that it