[linux-usb-devel] [PATCH 1/5] USB ATM: new usbatm core

Roman Kagan rkagan at mail.ru
Thu May 12 16:51:07 EDT 2005


On Thu, May 12, 2005 at 06:56:34PM +0200, Oliver Neukum wrote:
> static inline int usbatm_submit_urb(struct urb *urb)
> 
> You'll enter this with irqs off and will leave it with irqs on.

Mind elaborating a bit?  I can see that we may enable irqs with
spin_unlock_irq() on the error path, but how do we enter
usbatm_submit_urb() with irqs off?  It's only called from tasklets and
user context.  Am I missing anything obvious?

Roman.



More information about the Usbatm mailing list