other versions
- jessie 3.16.56-1+deb8u1
USB_GADGET_VBUS_DISC(9) | Kernel Mode Gadget API | USB_GADGET_VBUS_DISC(9) |
NAME¶
usb_gadget_vbus_disconnect - notify controller about VBUS session endSYNOPSIS¶
int
usb_gadget_vbus_disconnect(struct usb_gadget * gadget);
ARGUMENTS¶
gadgetthe device whose VBUS supply is being described
CONTEXT¶
can sleepDESCRIPTION¶
This call is used by a driver for an external transceiver (or GPIO) that detects a VBUS power session ending. Common responses include reversing everything done in usb_gadget_vbus_connect. Returns zero on success, else negative errno.AUTHOR¶
David Brownell <dbrownell@users.sourceforge.net>Author.
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |