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

Commit 70c2351e authored by Peter Liu's avatar Peter Liu
Browse files

msm: camera: isp: avoid race on free buffer queue



In addition to the protection of buffer in buffer queue,
buffer queue data struct itself could have race condition
when deinit buffer manager and get buf happen in the same
time.

Move the buffer queue lock to protect the buffer queue itself.

Change-Id: I50a4c58c22f1e568bd1f57ad5a9ea1123aca495b
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>
parent 8b477bbf
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