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

Skip to content
Commit 360ac8bc authored by Alok Chauhan's avatar Alok Chauhan
Browse files

msm: camera: cdm: change work record to atomic variable



In some corner case, Flush and request timer function can run
in parallel. In timer function we check for hang detect by acquiring
cdm hw mutex lock, same lock is being used as part of flush operation
as well which can cause deadlock scenario.

Change hang detect logic by making work record as atomic variable.

CRs-Fixed: 2701653
Change-Id: I8c44778cfa2ad35dbc4f72acb93be8e0323a5f6b
Signed-off-by: default avatarAlok Chauhan <alokc@codeaurora.org>
parent 7ce00df4
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