.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "USB_DRIVER_RELEASE_INTERFACE" "" "06 October 2005" "" "" .SH NAME usb_driver_release_interface \- unbind a driver from an interface .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void usb_driver_release_interface (struct usb_driver * \fIdriver\fB, struct usb_interface * \fIiface\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdriver\fB\fR the driver to be unbound .TP \fB\fIiface\fB\fR the interface from which it will be unbound .SH "DESCRIPTION" .PP In addition to unbinding the driver, this re-initializes the interface by selecting altsetting 0, the default alternate setting. .PP This can be used by drivers to release an interface without waiting for their \fBdisconnect\fR methods to be called. .PP When the USB subsystem \fBdisconnect\fRs a driver from some interface, it automatically invokes this method for that interface. That means that even drivers that used \fBusb_driver_claim_interface\fR usually won't need to call this. .PP This call is synchronous, and may not be used in an interrupt context.