On Thu, 21 Jun 2007, ok wrote: > Hi Alan, > > Do you mean something like that below? I haven't tested it.
Yes, something very much like this. It could be simplified a little; in a couple of places where you have finish_request(); spin_unlock(); continue; you ought to be able to use a "goto" or "break" instead. Also there are a few minor problems, like calling finish_request before it is declared and calling it before releasing urb->lock, but those can easily be fixed. If you like, I'll try revising your patch. You'll have to test it though; I don't have the hardware. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel