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

Commit 43de0f4f authored by Petar Sivenov's avatar Petar Sivenov
Browse files

msm: camera: isp: fix pingpong status race condition



Frame request from userspace can happen at any moment relative to
frame. However usage of ping pong flag in this routine is considered
as if it is called between SOF and AXI IRQs. If frame request arrives
later, address is configured incorrectly. This change uses ping pong
taken during AXI irq - which is synchronous with change of ping pong
flag and uses it for next SOF to SOF interval, avoiding race
condition.

Change-Id: I6c99632e38214ee568d15aaa78e67a51ebac97df
Signed-off-by: default avatarPetar Sivenov <psiven@codeaurora.org>
parent 21a2ddca
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