On Mon, 25 Nov 2013, Xenia Ragiadakou wrote:

> Actually, xhci driver does not implement endpoint_disable(). So, how can 
> I force the disable not to be finished until the pending reset is 
> finished? The only way i see is by implementing endpoint_disable() 
> callback for xhci. Do you have something else in mind maybe?
> Also, probably there was an implementation for it, 
> xhci_endpoint_disable(), but it seems to have been reverted. I just saw 
> this function name to appear in a comment in xhci_add_endpoint().

Disabling an endpoint means releasing all the resources used by the
hardware for that endpoint.  On xHCI, this means deconfiguring the
endpoint context, deallocating the endpoint ring, and so on.  xhci-hcd
must do this whenever it carries out a config or altsetting change.  
You have to make sure the endpoint doesn't get deconfigured while it is 
being reset.

Sarah can explain this better than I can.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to