---
name: "usb_enable_autosuspend"
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_enable_autosuspend"
---

# usb\_enable\_autosuspend(9)

allow a USB device to be autosuspended

## NAME

usb\_enable\_autosuspend - allow a USB device to be autosuspended

## SYNOPSIS

**void usb\_enable\_autosuspend(struct usb\_device \*** *udev***);**

## ARGUMENTS

*udev*

the USB device which may be autosuspended

## DESCRIPTION

This routine allows *udev* to be autosuspended. An autosuspend won't take place until the autosuspend\_delay has elapsed and all the other necessary conditions are satisfied.

The caller must hold *udev*'s device lock.

## COPYRIGHT
