usb_enable_autosuspend

Langue: en

Version: October 2010 (fedora - 01/12/10)

Section: 9 (Appels noyau Linux)

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.