Scroll to navigation

USB_ENABLE_AUTOSUSPE(9) USB Core APIs USB_ENABLE_AUTOSUSPE(9)

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

May 2018 Kernel Hackers Manual 3.16