Skip to content
Commit 41ac1670 authored by Vishalsingh Hajeri's avatar Vishalsingh Hajeri Committed by vhajeri
Browse files

msm: camera: crm: Add mutex lock to avoid race condition



mutex lock on crm device adds protection to avoid a scenario
wherein a sequence of calls made from UMD generates a race
condition. A scenario where a call to stop device is
followed by call to unlink, flush and release creates
race condition.

Change-Id: I257306a132047ad490f6fb626c2b7efda42b23d3
Signed-off-by: default avatarvhajeri <vhajeri@codeaurora.org>
parent ef9c8d03
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