Am Donnerstag, 25. Februar 2010 06:41:45 schrieb Gupta, Ajay Kumar: > > I am afraid this is conceptually broken. Drivers are supposed to be able > > to evaluate the response and do error handling before the next URB > > is processed. > > Oliver, > Error handling is already done before the actual giveback which is handled in workqueue so I think this should be fine. Hi, how is that done? Suppose the driver retrieves a status and must decide based on that status whether the next operation can go ahead or a procedure to handle an exceptional status must be launched. In that case the completion handler of the finished operation must be able to reliably prevent the execution of new IO calling usb_unlink_urb() an already scheduled operations. Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html