On Fri, Apr 20, 2012 at 6:45 PM, Oliver Neukum [off-list ref] wrote:
To be blunt, I'd prefer a guarantee that allows usb_unlink_urb() to be
called with spinlocks held.
It is allowed to be called with spinlocks held, but the same lock is not
allowed to be acquired in complete handler.
I understand you mean URB complete handler should be guaranteed
to be run only in IRQ context and can't be called by usb_unlink_urb,
don't I?
If yes, many hc drivers are still involved to be modified.
thanks,
--
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html