diff options
author | Vic Yang <victoryang@chromium.org> | 2013-08-20 14:16:53 +0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-08-21 19:20:44 -0700 |
commit | 0e024b2bae085f12ec4df33000799339aef38809 (patch) | |
tree | e62357e408cf9f75a3ce4661c7fdd68d3c5e36f1 /common/temp_sensor.c | |
parent | 5d1eeefdbcf16e9eb18540b7b6ed4aff8609c4d9 (diff) | |
download | chrome-ec-0e024b2bae085f12ec4df33000799339aef38809.tar.gz |
Fix a bug that I2C error may cause incorrect LED color
If there is an I2C transaction error while setting LED color, the three
LED color channels might be in an inconsistent state. In this case, we
should explicitly set the LED state to INVALID so as to force the next
LED color update.
BUG=None
TEST=Build success
BRANCH=Spring
Change-Id: I1353044ef782481872d692f15748413ef539cb27
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/66314
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'common/temp_sensor.c')
0 files changed, 0 insertions, 0 deletions