mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-31 11:01:19 +00:00
09a1fee89210ddea70c0935b3d2eea232b7ca28e
The power state machine goes through POWER_S5 state both when sequencing up and down, but we only should check for it to time out on the way up. In order to know what direction it is going add a variable to indicate the direction. On samus where this was done before it did not go through POWER_S5 on the way down, instead going directly to POWER_S5G3 so I did not run into this same issue. BUG=chrome-os-partner:49564 BRANCH=glados TEST=successfully power down without the EC thinking it is timing out and trying to reset RTC. Change-Id: I1f53f3a252bdc2ec8c656e30b3de7f98aaa661a0 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/322898 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%