urb->complete() callback context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
after debugging a problem between a hcd and a usb device driver, I'd like to
fix the one at fault.

Is the urb complete callback always supposed to be called with irqs disabled?

Documentation/usb/URB.txt tells us complete() is _normally_ called during
hardware interrupt processing and usb_hcd_giveback_urb() is documented with
"Context: in_interrupt()", but this is obviously not the case when it is
called f.ex. from rh_call_control(). It makes sure irqs are disabled, though.

Thanks,

  Daniel
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux