On Fri, 31 Mar 2006, David Brownell wrote:

> > > The "one response" rule is simple and easy to implement and
> > > explain.  Anything else would be complex, and thus error prone.
> > 
> > But there's nothing in the gadget API that says a driver can't split its
> > response between two buffers.
> 
> If so that's a doc bug.

I have to apologize...  Going back and looking through usb_gadget.h, I see 
that it _does_ say this:

 * Control endpoints ... after getting a setup() callback, the driver queues
 * one response (even if it would be zero length).

So you were right; gadget drivers should never queue more than one request 
for ep0 at any time.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to