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

Skip to content
Commit 29edeb73 authored by Sumukh Hallymysore Ravindra's avatar Sumukh Hallymysore Ravindra
Browse files

msm: synx: Perform idr access with lock



Perform IDR function access by holding on to the lock
which otherwise could lead to synchronization issues
and race conditions.
Additionally check for the id returned and return error
if id allocation failed.

Change-Id: I88be2883b20e3bbd6029d9f2caae6096907e4c09
Signed-off-by: default avatarSumukh Hallymysore Ravindra <shallymy@codeaurora.org>
parent 7a04b641
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