1. NAME

gadget_is_otg - return true iff the hardware is OTG-ready

2. SYNOPSIS

int gadget_is_otg(struct usb_gadget *  g );

3. ARGUMENTS

g
    controller that might have a Mini-AB connector

4. DESCRIPTION

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.

5. AUTHOR

David Brownell < >
    Author.

6. COPYRIGHT