1USB_GADGET_VBUS_DISC(9) Kernel Mode Gadget API USB_GADGET_VBUS_DISC(9)
2
3
4
6 usb_gadget_vbus_disconnect - notify controller about VBUS session end
7
9 int usb_gadget_vbus_disconnect(struct usb_gadget * gadget);
10
12 gadget
13 the device whose VBUS supply is being described
14
16 can sleep
17
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
26 David Brownell <dbrownell@users.sourceforge.net>
27 Author.
28
30Kernel Hackers Manual 2.6. June 2019 USB_GADGET_VBUS_DISC(9)