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

Commit 89610654 authored by Ramesh V's avatar Ramesh V
Browse files

msm: camera: avoid race condition while configuring ping pong buffer



Issue) Deadlock occur when cfg_ping_pong function called from
two different cores, since one core is trying to acquire the
lock for vfe1 which is hold by anoter core and another core
is trying to acquire the vfe0 lock hold by actual core, which
leads deadlock.
Resolution) To avoid this will make a common lock for both
vfe.

Change-Id: I2d2480154f1c9e00910620e1a749bb49b5eca955
Signed-off-by: default avatarRamesh V <ramev@codeaurora.org>
parent 02f0c5a1
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