1USB_GADGET_VBUS_DISC(9)     Kernel Mode Gadget API     USB_GADGET_VBUS_DISC(9)
2
3
4

NAME

6       usb_gadget_vbus_disconnect - notify controller about VBUS session end
7

SYNOPSIS

9       int usb_gadget_vbus_disconnect(struct usb_gadget * gadget);
10

ARGUMENTS

12       gadget
13           the device whose VBUS supply is being described
14

CONTEXT

16       can sleep
17

DESCRIPTION

19       This call is used by a driver for an external transceiver (or GPIO)
20       that detects a VBUS power session ending. Common responses include
21       reversing everything done in usb_gadget_vbus_connect.
22
23       Returns zero on success, else negative errno.
24

AUTHOR

26       David Brownell <dbrownell@users.sourceforge.net>
27           Author.
28
30Kernel Hackers Manual 2.6.       November 2011         USB_GADGET_VBUS_DISC(9)
Impressum