commit | 51c5d1f08001b540e69513a4b076a7900a9afe11 | [log] [tgz] |
---|---|---|
author | Jack Pham <jackp@codeaurora.org> | Fri Nov 02 17:46:17 2018 -0700 |
committer | Jack Pham <jackp@codeaurora.org> | Wed Dec 05 09:33:20 2018 -0800 |
tree | 4bb54723ecd794ba008432603f002a9c60b455b7 | |
parent | 92f6a823716d57aafc2be483bcb071abc2fb7721 [diff] |
usb: dwc3: request 2mA VBUS current when suspending In case a SUSPEND (L2 or U3) event is detected but the device is not yet enumerated/configured, the device must still follow USB power rules and limit its current draw to ISUSP (2.5mA). Notify the gadget when this happens, which in turn will notify the charger driver. Change-Id: I10d890aabd78d841027b370eb62005d2e35e2a38 Signed-off-by: Jack Pham <jackp@codeaurora.org>