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

Commit 2d6ff823 authored by Harsh Shah's avatar Harsh Shah Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: isp: Prevent locking same spin_lock twice



The shared_data_lock is used to protect the stream_update count
variable and also the stats enable function. Reduce scope of
lock to only protected variable instead of entire method so that
both places can grab lock without resource conflict.

Change-Id: I1c4d44e6bfa2de73a424df1deda0667416190a1b
Signed-off-by: default avatarHarsh Shah <harshs@codeaurora.org>
parent fce84756
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