commit | 1a0808cb9e417170ed6ab97254cf319dc3e3c310 | [log] [tgz] |
---|---|---|
author | John Keeping <john@metanate.com> | Tue Feb 04 15:29:33 2020 +0000 |
committer | Felipe Balbi <balbi@kernel.org> | Sun Mar 15 11:34:17 2020 +0200 |
tree | 4f244c190c7d9eea2305f7f9347a181fe828c72b | |
parent | 201c26c08db4bafde361ace54d74eac5d69fb66a [diff] |
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: Minas Harutyunyan <hminas@synopsys.com> Signed-off-by: John Keeping <john@metanate.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>