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

Skip to content
Commit db868b4c authored by Depeng Shao's avatar Depeng Shao Committed by Vivekananda T
Browse files

msm: camera: memmgr: Remove the mutex lock for kref variable



kref operation is atmoic operation, so no need to use mutex
to protect it, and the cam_mem_put_cpu_buf is also called
in spinlock context, so we can't use mutex lock in this
function. This change removes the mutex lock for kref
variable protextion.

CRs-Fixed: 3786887
Change-Id: Ic05bdafacf06cde6a8d8dbae7512e5d22eb7f514
Signed-off-by: default avatarDepeng Shao <quic_depengs@quicinc.com>
(cherry picked from commit 98515461)
parent f9384f15
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