usb_ep_set_wedge(9)

usb_ep_set_wedge9

Sets the halt feature and ignores clear requests

Usage

int usb_ep_set_wedge(struct usb_ep * ep);

Arguments

ep

the endpoint being wedged

Overview

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.

Releases

4 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8

Author

David Brownell <[email protected]>

Author.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.