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.