commit | b5f1b82eef8302ebad3d7ff2e218598f83c6ebe2 | [log] [tgz] |
---|---|---|
author | Akhil P Oommen <akhilpo@codeaurora.org> | Thu Mar 08 20:10:52 2018 +0530 |
committer | Akhil P Oommen <akhilpo@codeaurora.org> | Mon Apr 16 12:26:57 2018 +0530 |
tree | 41d16c113036f60f1d4954f6323ab3f17f566529 | |
parent | 71636eec762f729304853b1614337a3d3fe5d2a5 [diff] |
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: Akhil P Oommen <akhilpo@codeaurora.org>