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

Skip to content
Commit 53c61498 authored by Govindaraj Rajagopal's avatar Govindaraj Rajagopal
Browse files

msm: vidc: acquire lock for complete register sequence



Register pkt is queued to firmware, and it is processed
and register_done is getting called from reverse thread
before buffer is added to list in forward thread. To
avoid this race issue, acquired the cvpbuf.lock before
posting register command to firmware.

Signed-off-by: default avatarGovindaraj Rajagopal <grajagop@codeaurora.org>
parent 24d1ef86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment