On Fri, Mar 15, 2002, Maksim Krasnyanskiy <[EMAIL PROTECTED]> wrote: > > > > How about ENXIO error in submit_urb ? Should we fix uhci ? > > > >Yes, it needs to be fixed and it's relatively easy. I'll send a patch to > >Greg when I get a chance to test it. > Looks like we can simply get rid of uhci_call_completion(urb) at the end of > uhci_submit_urb. > I'm not sure why would you want to call completion during submit at all.
Because if the URB was for the root hub, the transfer succeeds immediately. Since it succeeded, we need to call the appropriate completion handler. The fix will most likely be checking if the transfer was successful: if (!ret) uhci_call_completion(urb); But I haven't tested it yet. JE _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel