mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 10:45:22 +00:00
ebc973ce39a1f538fe00a471f2245a5613f196f3
Record what current limit we set when we act as a source and when we are changing it. The change should be backward-compatible as older EC will return 0 in `current_max` when their role is PD_ROLE_SOURCE while newer firmware will set the actual limit. BRANCH=none BUG=chrome-os-partner:56110 TEST=manual: on Kevin, plug and unplug various devices on the 2 ports, and dump the values with 'ectool usbpdpower'. Change-Id: I8e78663f3196b1b81c2235ed8642da0638bed649 Reviewed-on: https://chromium-review.googlesource.com/375918 Commit-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%