1USB_DRIVER_RELEASE_I(9) USB Core APIs USB_DRIVER_RELEASE_I(9)
2
3
4
6 usb_driver_release_interface - unbind a driver from an interface
7
9 void usb_driver_release_interface(struct usb_driver * driver,
10 struct usb_interface * iface);
11
13 driver
14 the driver to be unbound
15
16 iface
17 the interface from which it will be unbound
18
20 This can be used by drivers to release an interface without waiting for
21 their disconnect methods to be called. In typical cases this also
22 causes the driver disconnect method to be called.
23
24 This call is synchronous, and may not be used in an interrupt context.
25 Callers must own the device lock, so driver disconnect entries don't
26 need extra locking, but other call contexts may need to explicitly
27 claim that lock.
28
30Kernel Hackers Manual 2.6. November 2011 USB_DRIVER_RELEASE_I(9)