mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 18:41:11 +00:00
76bd681c8f46137953f4dc02c5de03589b0d203f
charge_manager_refresh() asserts that board_set_active_charge_port(CHARGE_PORT_NONE) returns EC_SUCCESS, so if port 1 on Grunt's daughter board is disconnected, the EC gets stuck in an assert crash loop. Just printing the error and continuing seems like a better way to handle the missing port. BUG=b:71955904 BRANCH=none TEST=grunt with no daughter board doesn't assert Change-Id: I8a0f79e45c7b564794498cfc41bcc4acd8fd231f Signed-off-by: Edward Hill <ecgh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/866214 Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Justin TerAvest <teravest@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%