table of contents
other versions
- stretch 4.9.168-1
USB_DRIVER_RELEASE_I(9) | USB Core APIs | USB_DRIVER_RELEASE_I(9) |
NAME¶
usb_driver_release_interface - unbind a driver from an interfaceSYNOPSIS¶
void usb_driver_release_interface(struct usb_driver * driver, struct usb_interface * iface);
ARGUMENTS¶
driverthe 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, so driver disconnect entries don't need extra locking, but other call contexts may need to explicitly claim that lock.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |