usb_ep_disable9
Endpoint is no longer usable
Usage
int usb_ep_disable(struct usb_ep * ep);
Arguments
ep
the endpoint being unconfigured. may not be the endpoint named “ep0”.
Overview
no other task may be using this endpoint when this is called. any pending and uncompleted requests will complete with status indicating disconnect (-ESHUTDOWN) before this call returns. gadget drivers must call usb_ep_enable again before queueing requests to the endpoint.
returns zero, or a negative error code.
Releases
5 releases since Debian 4.0 (Etch); the text changed 4 times.