Commit add32fab authored by Yiduo Wang's avatar Yiduo Wang Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: Fix race condition between camera driver and camera daemon



Delete checking command list before calling
wait_for_competion_timeout which could cause race condtion
if camera daemon may respond fast and there is one context swtich
between msm_enqueue and completion.

Change-Id: I28bdc4e344d2365acf49d422ba75dc64308a96aa
Signed-off-by: default avatarYiduo Wang <yiduow@codeaurora.org>
parent 883603e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment