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

Skip to content
Commit 5e8a1fde authored by Ankit Premrajka's avatar Ankit Premrajka Committed by Stephen Boyd
Browse files

msm: camera_v2: protect all cmd ack q accesses around mutex.



This change protects all cmd ack queue acceses for a particular
session around a session-wide mutex. This ensures proper
synchronisation and prevents use after free scenarios. It also
ensures that the commands coming from HAL are posted to the
camera daemon in a synchronised fashion.

Change-Id: Ied6fcacd775aed69b97c8fe9ccc1ffffbdcbe0e8
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>
parent 10d0e508
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