USB_DRIVER_RELEASE_INTERFACE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

usb_driver_release_interface - unbind a driver from an interface  

SYNOPSIS

"SYNOPSIS"

void usb_driver_release_interface (struct usb_driver * driver, struct usb_interface * iface);  

ARGUMENTS

driver
the driver to be unbound
iface
the interface from which it will be unbound
 

DESCRIPTION

This can be used by drivers to release an interface without waiting for their disconnect methods to be called. In typical cases this also causes the driver disconnect method to be called.

This call is synchronous, and may not be used in an interrupt context. Callers must own the device lock and the driver model's usb_bus_type.subsys writelock. So driver disconnect entries don't need extra locking, but other call contexts may need to explicitly claim those locks.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:57 GMT, October 09, 2005