Fwd: [Q] USB urb completion handler

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

 



On Mon, May 7, 2012 at 2:48 PM, Peter Senna Tschudin
<peter.senna@xxxxxxxxx> wrote:
> http://www.makelinux.net/ldd3/chp-13-sect-3#chp-13-sect-3.4
>
> " If the function succeeds, the completion handler of the urb (as
> specified by the complete function pointer) is called exactly once
> when the urb is completed. When this function is called, the USB core
> is finished with the URB, and control of it is now returned to the
> device driver."
>

Bingo! Because the driver will only submit *one* urb at a time,
how could it possible have more than one completion handlers
called at a time?

I wasn't thinking with the right half of my brain.
Thanks,
Ezequiel.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux