table of contents
other versions
- stretch 4.9.168-1
USB_DISABLE_AUTOSUSP(9) | USB Core APIs | USB_DISABLE_AUTOSUSP(9) |
NAME¶
usb_disable_autosuspend - prevent a USB device from being autosuspendedSYNOPSIS¶
void usb_disable_autosuspend(struct usb_device * udev);
ARGUMENTS¶
udevthe 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.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |