Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2bc5c937 authored by Iliya Varadzhakov's avatar Iliya Varadzhakov Committed by Gerrit - the friendly Code Review server
Browse files

msm:cci: Add protection for race condition in cci queue access



If two sensors are connected to the same CCI bus they start to
write to this bus asynchronously. In some cases first sensor
will start to write to the bus whle the second sensor call
cci init function. Such race condition causes cci queue timeout
To avoid such race condition cci init needs to be protected
with queue mutexes.

Change-Id: Ie8acf1c6543475a5b0b494c826d4af47573d0db3
Signed-off-by: default avatarIliya Varadzhakov <ivarad@codeaurora.org>
parent 59a631bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment