usb_function_activate
Prev | Composite Device Framework | Next

## Name

usb_function_activate — allow function and gadget enumeration

## Synopsis

`int usb_function_activate (` | struct usb_function * function`)`;

## Arguments

`function`

  function on which `usb_function_activate` was called

## Description

Reverses effect of `usb_function_deactivate`. If no more functions are delaying their activation, the gadget driver will respond to host enumeration procedures.

Returns zero on success, else negative errno.

Prev | Up | Next
usb_function_deactivate | Home | usb_interface_id