usb: dwc2: Implement set_selfpowered()
dwc2 always reports as self-powered in response to a device status request. Implement the set_selfpowered() operations so that the gadget can report as bus-powered when appropriate. This is modelled on the dwc3 implementation. Acked-by: NMinas Harutyunyan <hminas@synopsys.com> Signed-off-by: NJohn Keeping <john@metanate.com> Signed-off-by: NFelipe Balbi <balbi@kernel.org>
Showing
想要评论请 注册 或 登录