Am Thursday 15 January 2009 20:55:51 schrieb Alan Stern: > > > > There is also the potential for the ochi-hcd driver to call usb_hcd_giveback_urb > > directly if the host controller is no longer running. > > > > Is it considered acceptable to call usb_hcd_giveback_urb directly from the > > urb_dequeue routine or do these drivers need to be updated? > > It is indeed acceptable. In fact, it's even acceptable to call > usb_hcd_giveback_urb directly from the urb_enqueue routine, although I > don't think any HCDs do this (some peripheral drivers in the gadget > directory do the analogous thing). Is this really wise? Completion handlers will have to lock data structures also needed by submitting methods. 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