USB_INTERFACE_CLAIME

Section: Host-Side Data Types and Macro (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

usb_interface_claimed - returns true iff an interface is claimed  

SYNOPSIS

int usb_interface_claimed(struct usb_interface * iface);
 

ARGUMENTS

iface

the interface being checked
 

DESCRIPTION

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

COPYRIGHT