other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
USB_EP_SET_WEDGE(9) | Kernel Mode Gadget API | USB_EP_SET_WEDGE(9) |
NAME¶
usb_ep_set_wedge - sets the halt feature and ignores clear requestsSYNOPSIS¶
int
usb_ep_set_wedge(struct usb_ep * ep);
ARGUMENTS¶
epthe endpoint being wedged
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.AUTHOR¶
David Brownell <dbrownell@users.sourceforge.net>Author.
COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |