diff options
| author | Wesley Cheng <[email protected]> | 2020-12-29 15:03:30 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-01-04 16:45:50 +0100 |
| commit | 8280de6ab07b4c63eb607662754f151e539031a1 (patch) | |
| tree | 98f83dee9652759f18006d0887eb4f23dcbe1c81 /tools/perf/scripts/python | |
| parent | 82c46b8ed9dc395df902c1857e908f08f8395ca7 (diff) | |
usb: gadget: composite: Split composite reset and disconnect
Add a specific composite reset API to differentiate between disconnect and
reset events. This is needed for adjusting the current draw accordingly
based on the USB battery charging specification. The device is only allowed
to draw the 500/900 mA (HS/SS) while in the CONFIGURED state, and only 100 mA
in the connected and UNCONFIGURED state.
Reviewed-by: Peter Chen <[email protected]>
Signed-off-by: Wesley Cheng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions