Return true iff the hardware is otg-ready
int gadget_is_otg(struct usb_gadget * g);
g
controller that might have a Mini-AB connector
This is a runtime test, since kernels with a USB-OTG stack sometimes run on boards which only have a Mini-B (or Mini-A) connector.
David Brownell <[email protected]>
Author.