usb_disable_autosuspend

Langue: en

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

Section: 9 (Appels noyau Linux)

NAME

usb_disable_autosuspend - prevent a USB device from being autosuspended

SYNOPSIS

void usb_disable_autosuspend(struct usb_device * udev);

ARGUMENTS

udev

the USB device which may not be autosuspended

DESCRIPTION

This routine prevents udev from being autosuspended and wakes it up if it is already autosuspended.

The caller must hold udev's device lock.