mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
08498eab99ab22826ff7e3a028f0d7ed0109972f
Don't call into tcpm_*() functions from HOOKs since these functions may manipulate common sets of TCPC registers. BUG=chrome-os-partner:57691 BRANCH=gru TEST=On kevin, boot to S0, verify 5V is sourced to legacy peripheral. Drop to G3, verify role is back to sink and charging is functional. Back to S0, verify 5V is sourced. Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: I9ade9de068589dce6995cda6b106217aa85aa793 Reviewed-on: https://chromium-review.googlesource.com/394809 (cherry picked from commit 18e9e3870722d57efd232bd7f0a0300003b46ad6) Reviewed-on: https://chromium-review.googlesource.com/396137 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@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%