Re: question: mixing synchronous and asynchronous urb calls

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

 



On Wed, Feb 17, 2010 at 03:06:23PM -0800, mikedunn@xxxxxxxxxxx wrote:
> Hi all,
> 
> Does the usb subsystem impose any restrictions on mixing asynchronous
> (usb_submit_urb()) and synchronous (usb_bulk_msg(), et. al.) calls?  For
> example, do the callbacks for asynchronously submitted urbs have to complete
> before a synchronous call is made?

For the same endpoint, yes, that is a requirement (think of an endpoint
as a pipe, you need to process the urbs for a pipe in-order of
submission).  For different endpoints, no, it's not a requirement.

Hope this helps,

greg k-h
--
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