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

NAME

6       usb_gadget_clear_selfpowered - clear the device selfpowered feature.
7

SYNOPSIS

9       int usb_gadget_clear_selfpowered(struct usb_gadget * gadget);
10

ARGUMENTS

12       gadget
13           the device being declared as bus-powered
14

DESCRIPTION

16       this affects the device status reported by the hardware driver. some
17       hardware may not support bus-powered operation, in which case this
18       feature's value can never change.
19
20       returns zero on success, else negative errno.
21

AUTHOR

23       David Brownell <dbrownell@users.sourceforge.net>
24           Author.
25
27Kernel Hackers Manual 3.10         June 2019           USB_GADGET_CLEAR_SEL(9)
Impressum