• David Brownell's avatar
    [PATCH] OHCI urb unlink fixes · 961c380c
    David Brownell authored
    Fix two OHCI unlink issues.
    
       * All EDs now get a 1 msec delay before re-linking, even those
         which were seemingly "clean" unlink cases.  This gets rid of
         some list corruption issues ("bad entry") by getting rid of
         a fast-path carried over from 2.4 usb-ohci.
    
       * In case of unlink-during-submit, we must giveback() right away.
         This is a reasonably rare case.
    
    There have been recent reports of problems here.  The "bad entry"
    showed up with usbtest tests #11 and #12, or "stir4200", and maybe
    in other cases.  The unlink-during-submit shows up in usbtest.
    961c380c
ohci-q.c 28.9 KB