1. NAME

usb_ep_set_wedge - sets the halt feature and ignores clear requests

2. SYNOPSIS

int usb_ep_set_wedge(struct usb_ep *  ep );

3. ARGUMENTS

ep
    the endpoint being wedged

4. DESCRIPTION

Use this to stall an endpoint and ignore CLEAR_FEATURE(HALT_ENDPOINT) requests. If the gadget driver clears the halt status, it will automatically unwedge the endpoint.

Returns zero on success, else negative errno.

5. AUTHOR

David Brownell < >
    Author.

6. COPYRIGHT