mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 09:01:35 +00:00
80f5d9e10a04f3fc4234fce304ba742aee16c1f9
The i2c_packet structure wasn't always being initialized in the error path. It's possible to crash the EC if the first command processed hit this error path. Instead, unconditionally set all the i2c_packet fields. BUG=chrome-os-partner:30784 BRANCH=None TEST=Built and ran on ryu. Change-Id: Ic6d7c63f61d59c4449fbb20f656c1bfb835db8be Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/212164 Reviewed-by: Alec Berg <alecaberg@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%