'\" t .\" Title: usb_disable_autosuspend .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: USB Core APIs .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "USB_DISABLE_AUTOSUSP" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "USB Core APIs" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" usb_disable_autosuspend \- prevent a USB device from being autosuspended .SH "SYNOPSIS" .HP \w'void\ usb_disable_autosuspend('u .BI "void usb_disable_autosuspend(struct\ usb_device\ *\ " "udev" ");" .SH "ARGUMENTS" .PP \fIudev\fR .RS 4 the USB device which may not be autosuspended .RE .SH "DESCRIPTION" .PP This routine prevents \fIudev\fR from being autosuspended and wakes it up if it is already autosuspended\&. .PP The caller must hold \fIudev\fR\*(Aqs device lock\&. .SH "COPYRIGHT" .br