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

Commit c5539d1d authored by Mukund Madhusudan Atre's avatar Mukund Madhusudan Atre
Browse files

msm: camera: smmu: Fix unbalanced mutex unlock in camera smmmu



When smmu get handle is called, mutex unlock is called on a lock
that was not acquired. Add mutex lock condition to balance it.
Also, re-organize the conditions for handle types to be mutually
exclusive.

CRs-Fixed: 2584631
Change-Id: I057b8812c8f76e157503eb5c76aa1de174563f3a
Signed-off-by: default avatarMukund Madhusudan Atre <matre@codeaurora.org>
parent 90d0abfb
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