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:
Ankit Premrajka <ankitp@codeaurora.org>
Loading
Please register or sign in to comment