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

Skip to content
Commit 2fee68e6 authored by Jigarkumar Zala's avatar Jigarkumar Zala
Browse files

msm: camera: cci: Add rd_done to handle read done operation



Currently reset_complete and rd_done operation is flagged with same
irq handler reset_complete. Sometime complete on reset_complete also
been catched by wait for read done operation, which allows to perform
wrong operations for read done. This sceneraio generates wrong operation
which includes, rd_underflow/rd_done. This change adds rd_done
attributes to differentiate the operation. Also, there is a race
condition for cci device ref count, when multiple submodules try to
do cci_init parallely, reference count will be out of sync. This change
adds mutex for reference count as well as to be the ref_count in sync.
This change also adds some irq error mask to identify errors for
debuggind purpose.

Change-Id: I52aec8246cf4d1beef41b195adfa468d7c5192d0
Signed-off-by: default avatarJigarkumar Zala <jzala@codeaurora.org>
parent 6596f440
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment