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

Commit 90979f04 authored by Binoy Jayan's avatar Binoy Jayan Committed by Mauro Carvalho Chehab
Browse files

media: ngene: Replace semaphore stream_mutex with mutex



The semaphore 'stream_mutex' is used as a simple mutex, so
it should be written as one. Also moving the mutex_[lock/unlock]
to the caller as it is anyway locked at the beginning of the
callee thus avoiding repetition.

Signed-off-by: default avatarBinoy Jayan <binoy.jayan@linaro.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 1439cdb0
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