2006/3/24, Alan Stern <[EMAIL PROTECTED]>:
> Case 11 asks for an endpoint descriptor, which is an illegal request.
> zero.c returns -EOPNOTSUPP from zero_setup(), so the UDC driver should
> STALL the endpoint.
>

Ah...didnt know that point sorry.

I got 2 more questions, hope you don't mind.

Can I assert that the ep0's request queue has always one request queued ?

Is it safe when aborting all requests of an ep's queue to do

        while (queue is not empty) {
                request = first request of the queue
                remove_request_from_queue(request);
                driver->complete(request, status = -ERROR);
        }

I mean, am I sure that the driver won't queue another request to the queue ?

Thanks
--
               Franck


-------------------------------------------------------
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&kid0944&bid$1720&dat1642
_______________________________________________
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