diff options
author | Zhuohao Lee <zhuohao@chromium.org> | 2018-08-06 10:51:35 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-07 01:50:38 -0700 |
commit | b3ff32c510e8842d9ee043d9c9b09a1efb60f9db (patch) | |
tree | 61c2b92bd9a535daa832f458adbcb77aed327910 /board/sweetberry | |
parent | 30b09cea62d5dab06301223020140788dbe6e4de (diff) | |
download | chrome-ec-b3ff32c510e8842d9ee043d9c9b09a1efb60f9db.tar.gz |
cbi: lock the i2c port before using it
i2c bus is the share resource. We need to lock the port before using it.
Otherwise, it will break the other who is using the i2c bus.
BUG=b:78538360
BRANCH=master
TEST=Use command `ectool cbi get 0 1` without error
Change-Id: I0adde0b0e912420813cfdec444ae8e531d90042f
Signed-off-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1163542
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'board/sweetberry')
0 files changed, 0 insertions, 0 deletions