1USB_FUNCTION_ACTIVAT(9) Kernel Mode Gadget API USB_FUNCTION_ACTIVAT(9)
2
3
4
6 usb_function_activate - allow function and gadget enumeration
7
9 int usb_function_activate(struct usb_function * function);
10
12 function
13 function on which usb_function_activate was called
14
16 Reverses effect of usb_function_deactivate. If no more functions are
17 delaying their activation, the gadget driver will respond to host
18 enumeration procedures.
19
20 Returns zero on success, else negative errno.
21
23 David Brownell <dbrownell@users.sourceforge.net>
24 Author.
25
27Kernel Hackers Manual 3.10 June 2019 USB_FUNCTION_ACTIVAT(9)