commit | 41ac16701cc1bdbdc9fce4578e9a67e206af8d3c | [log] [tgz] |
---|---|---|
author | Vishalsingh Hajeri <vhajeri@codeaurora.org> | Fri Dec 01 14:36:00 2017 -0800 |
committer | vhajeri <vhajeri@codeaurora.org> | Fri Dec 01 14:36:00 2017 -0800 |
tree | ca925d76babcb8d5c9d679c68860a90a50d99692 | |
parent | ef9c8d038094ec07c4e6bf224a5d9b1c6177370d [diff] |
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: vhajeri <vhajeri@codeaurora.org>