Hi, On Mon, May 21, 2012 at 02:41:13PM +0530, Pratyush Anand wrote: > >>If I call > >>dwc3_gadget_start_isoc_uf(dwc, dep, cur_uf) > >> > >>with cur_uf obtained from __dwc3_gadget_get_frame(dwc) , it does not work. > > > >I guess you have already this bug :-) > > > > even if we correct the mask, there would be issue. > So frame number from DSTS is of 14 bits. > Correct value of DSTS was 0x3C8FC. > After correction of mask it will give uf as 0x391F which is not > 0x791F coming from event->parameter. the missing bit on the mask fixes it, if you look at those numbers, 0x391f only missed bit 14, which was missing on your mask ;-) -- balbi
Attachment:
signature.asc
Description: Digital signature