mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-07 16:11:43 +00:00
81fd1393fa3ecb4709a7e6f83c402d7a6a1ccf00
1. If one i2c transaction includes timeout and done events at the same time, the transaction result will be timeout. Fixed: The transaction is succeed instead of timeout. 2. The interrupt of i2c will not be enabled if an i2c write transaction is split into two or more xfer. Signed-off-by: Dino Li <dino.li@ite.com.tw> BRANCH=none BUG=none TEST=1. Console commands:'i2cscan', 'i2cxfer', and 'battery'. 2. Use two or more i2c_xfer(the first with flag 'I2C_XFER_START' and the last with flag 'I2C_XFER_STOP') to do a i2c write transaction and no error. Change-Id: Ieb2cb229748ac9504cf1636a2826bbb3097aa55c Reviewed-on: https://chromium-review.googlesource.com/360762 Commit-Ready: Dino Li <Dino.Li@ite.com.tw> Tested-by: Dino Li <Dino.Li@ite.com.tw> Reviewed-by: Randall Spangler <rspangler@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%