other versions
- stretch 4.9.168-1
GADGET_IS_OTG(9) | Kernel Mode Gadget API | GADGET_IS_OTG(9) |
NAME¶
gadget_is_otg - return true iff the hardware is OTG-readySYNOPSIS¶
int gadget_is_otg(struct usb_gadget * g);
ARGUMENTS¶
gcontroller that might have a Mini-AB connector
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.AUTHOR¶
David Brownell <dbrownell@users.sourceforge.net>Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |