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

Commit 905e3ff7 authored by Azam Sadiq Pasha Kapatrala Syed's avatar Azam Sadiq Pasha Kapatrala Syed
Browse files

msm: camera: Handle race condition on stream buffer ops



During camera tear down seq HAL stops the stream and unreg buffers.
In this scenario, if back end modules doesn't stream off and still
access the stream buffers there occurs race condition when tearing
down the stream vs accessing stream buffers. Lock the stream while
tearing down.

Change-Id: Ie0f64efc790a0ca0c0399863417c730af91ac36b
Signed-off-by: default avatarAzam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
parent cd2c69a8
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