'\" t .\" Title: usb_driver_release_interface .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: USB Core APIs .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "USB_DRIVER_RELEASE_I" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "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_driver_release_interface \- unbind a driver from an interface .SH "SYNOPSIS" .HP \w'void\ usb_driver_release_interface('u .BI "void usb_driver_release_interface(struct\ usb_driver\ *\ " "driver" ", struct\ usb_interface\ *\ " "iface" ");" .SH "ARGUMENTS" .PP \fIdriver\fR .RS 4 the driver to be unbound .RE .PP \fIiface\fR .RS 4 the interface from which it will be unbound .RE .SH "DESCRIPTION" .PP This can be used by drivers to release an interface without waiting for their \fBdisconnect\fR methods to be called\&. In typical cases this also causes the driver \fBdisconnect\fR method to be called\&. .PP This call is synchronous, and may not be used in an interrupt context\&. Callers must own the device lock, so driver \fBdisconnect\fR entries don\*(Aqt need extra locking, but other call contexts may need to explicitly claim that lock\&. .SH "COPYRIGHT" .br