1. NAME▲
usb_composite_probe - register a composite driver
2. SYNOPSIS ▲
int usb_composite_probe(struct usb_composite_driver * driver );
3. ARGUMENTS ▲
driver
the driver to register
4. CONTEXT ▲
single threaded during gadget setup
5. DESCRIPTION ▲
This function is used to register drivers using the composite driver framework. The return value is zero, or a negative errno value. Those values normally come from the driverAqs bind method, which does all the work of setting up the driver to match the hardware.
On successful return, the gadget is ready to respond to requests from the host, unless one of its components invokes usb_gadget_disconnect while it was binding. That would usually be done in order to wait for some userspace participation.
6. AUTHOR ▲
David Brownell <>
Author.
7. COPYRIGHT ▲