'\" t .\" Title: usb_autopm_put_interface_async .\" 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_AUTOPM_PUT_INTER" "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_autopm_put_interface_async \- decrement a USB interface\*(Aqs PM\-usage counter .SH "SYNOPSIS" .HP \w'void\ usb_autopm_put_interface_async('u .BI "void usb_autopm_put_interface_async(struct\ usb_interface\ *\ " "intf" ");" .SH "ARGUMENTS" .PP \fIintf\fR .RS 4 the usb_interface whose counter should be decremented .RE .SH "DESCRIPTION" .PP This routine does much the same thing as \fBusb_autopm_put_interface\fR: It decrements \fIintf\fR\*(Aqs usage counter and schedules a delayed autosuspend request if the counter is <= 0\&. The difference is that it does not perform any synchronization; callers should hold a private lock and handle all synchronization issues themselves\&. .PP Typically a driver would call this routine during an URB\*(Aqs completion handler, if no more URBs were pending\&. .PP This routine can run in atomic context\&. .SH "COPYRIGHT" .br