1. NAME▲
usb_ep_clear_halt - clears endpoint halt, and resets toggle
2. SYNOPSIS ▲
int usb_ep_clear_halt(struct usb_ep * ep );
3. ARGUMENTS ▲
ep
the bulk or interrupt endpoint being reset
4. DESCRIPTION ▲
Use this when responding to the standard usb « set interface » request, for endpoints that arenAqt reconfigured, after clearing any other state in the endpointAqs i/o queue.
Returns zero, or a negative error code. On success, this call clears the underlying hardware state reflecting endpoint halt and data toggle. Note that some hardware canAqt support this request (like pxa2xx_udc), and accordingly canAqt correctly implement interface altsettings.
5. AUTHOR ▲
David Brownell <>
Author.
6. COPYRIGHT ▲