usb_driver_release_interface(9)

usb_driver_release_interface9

Unbind a driver from an interface

Usage

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

Overview

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.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.