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

Skip to content
Commit b5f1b82e authored by Akhil P Oommen's avatar Akhil P Oommen
Browse files

msm: kgsl: Properly take syncsource_lock spinlock



Syncsource spinlock is not properly taken while removing syncsource
id from the synsource_idr. idr_find() and idr_remove() should be called
atomically. Fix this by keeping idr_find() and idr_remove() inside
a single lock.

Change-Id: I51b8dcd0d67deda746c05e4cbd9eb1355d8f5d0b
Signed-off-by: default avatarAkhil P Oommen <akhilpo@codeaurora.org>
parent 71636eec
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