mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 10:00:51 +00:00
7ca92127a4ebdbead58dd9cfb5c0ca136ad4168e
Fix bug where if a power swap fails in the final stages, it will have switched its CC resistor, but will not have actually switched roles, which causes all sorts of weirdness. BUG=none BRANCH=samus TEST=make buildall. tested power swap between two samus'. modified one samus to never send PS_RDY when in PD_STATE_SNK_SWAP_COMPLETE, and verified that when source asks for power swap and fails, that it properly resets CC to pull-up. Change-Id: If0fc8d3d51ede3be1160ae3b106061edabeaa948 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/231193 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Todd Broch <tbroch@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%