On Thu, Jan 10, 2013 at 03:23:16PM +0530, Pratyush Anand wrote: > There are two reasons to generate missed isoc. > > 1. when the host does not poll for all the data. > 2. because of application-side delays that prevent all the data from > being transferred in programmed microframe. > > Current code was able to handle first case only. Now we take following > approach to handle missed isoc. > > If missed isoc occurred and there is no request queued then issue END > TRANSFER, so that core generates next xfernotready and we will issue a > fresh START TRANSFER. > If there are still queued request then wait, do not issue either END or > UPDATE TRANSFER, just attach next request in request_list during giveback. > If any future queued request is successfully transferred then we will issue > UPDATE TRANSFER for all request in the request_list. > > Signed-off-by: Pratyush Anand <pratyush.anand@xxxxxx> this is the *THIRD* patch fixing for "missed ISOC". Something is going on, make sure to test this properly and fix "missed ISOC" once and for all. I will wait for testcases which show how to reproduce the problem and after applying this patch fixes it. Also, make sure to let me know how you tested it, which gadget drivers have you used ? I would like to have g_zero, g_audio and g_webcam tested to make sure different use cases are exercised. cheers -- balbi
Attachment:
signature.asc
Description: Digital signature