summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMulin Chao <mlchao@nuvoton.com>2016-02-04 10:30:38 +0800
committerchrome-bot <chrome-bot@chromium.org>2016-02-04 19:15:06 -0800
commitff52ac20c1603317f601af73076179da06b3a909 (patch)
tree984260df4443044e9c268f415c3afd34e0fa85ce /Makefile
parent1b9e6b2375ec2a2d2dc95968aa78d1c64faa1d2a (diff)
downloadchrome-ec-stabilize-smaug-7897.B.tar.gz
common: Fix sleep mask for multi-port lock.stabilize-smaug-7897.B
This change use a simple counter to to prevent ec enter sleep if there's any i2c port active. Once there's no i2c port active, we enable sleep bit of i2c in i2c_lock() func. Please note FW disables interrupt during changing counter to prevent preemptive conditions. Modified sources: 1. common/i2c.c: Fix sleep mask for multi-port lock. BUG=crbug.com/537759 TEST=make buildall -j; test on wheatley when CONFIG_LOW_POWER_S0 is deifned. BRANCH=none Change-Id: I17c226108fee0e5d656fa157808179898f9a8dbf Signed-off-by: Mulin Chao <mlchao@nuvoton.com> Reviewed-on: https://chromium-review.googlesource.com/325256 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions