1USB_DISABLE_AUTOSUSP(9) USB Core APIs USB_DISABLE_AUTOSUSP(9)
23
4
NAME
6usb_disable_autosuspend - prevent a USB device from being autosuspended
7
SYNOPSIS
9void usb_disable_autosuspend(struct usb_device * udev);
10
ARGUMENTS
12udev
13the USB device which may not be autosuspended
14
DESCRIPTION
16This routine prevents udev from being autosuspended and wakes it up if
17it is already autosuspended.
1819
The caller must hold udev's device lock.
20
COPYRIGHT
22Kernel Hackers Manual 3.10 June 2019 USB_DISABLE_AUTOSUSP(9)