1. NAME▲

usb_interface_claimed - returns true iff an interface is claimed

2. SYNOPSIS ▲

int usb_interface_claimed(struct usb_interface *  iface );

3. ARGUMENTS ▲

iface
    the interface being checked

4. DESCRIPTION ▲

Returns true (nonzero) iff the interface is claimed, else false (zero). Callers must own the driver modelAqs usb bus readlock. So driver probe entries donAqt need extra locking, but other call contexts may need to explicitly claim that lock.

5. COPYRIGHT ▲