usb_gadget_deactivate — deactivate function which is not ready to work
int usb_gadget_deactivate ( | struct usb_gadget * gadget) ; |
This routine may be used during the gadget driver bind
call to prevent
the peripheral from ever being visible to the USB host, unless later
usb_gadget_activate
is called. For example, user mode components may
need to be activated before the system can talk to hosts.
Returns zero on success, else negative errno.