Fwd: [Q] USB urb completion handler

Ezequiel Garcia elezegarcia at gmail.com
Mon May 7 13:55:13 EDT 2012


On Mon, May 7, 2012 at 2:48 PM, Peter Senna Tschudin
<peter.senna at gmail.com> 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.



More information about the Kernelnewbies mailing list