1USB_GADGET_CLEAR_SEL(9) Kernel Mode Gadget API USB_GADGET_CLEAR_SEL(9)
2
3
4
6 usb_gadget_clear_selfpowered - clear the device selfpowered feature.
7
9 int usb_gadget_clear_selfpowered(struct usb_gadget * gadget);
10
12 gadget
13 the device being declared as bus-powered
14
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
23 David Brownell <dbrownell@users.sourceforge.net>
24 Author.
25
27Kernel Hackers Manual 2.6. June 2019 USB_GADGET_CLEAR_SEL(9)