---
name: "usb_function_activate"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/usb_function_activate"
---

# usb\_function\_activate(9)

allow function and gadget enumeration

## 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.

## AUTHOR

**David Brownell** \<dbrownell@users.sourceforge.net\>

Author.

## COPYRIGHT
