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

Commit c4281687 authored by Se Wang (Patrick) Oh's avatar Se Wang (Patrick) Oh Committed by Sarangdhar Joshi
Browse files

soc: qcom: sysmon: fix mutex error in in sysmon driver



When PIL probing is deferred, data->instance_id is 0.
Hence sysmon_notifier_register exits and it unlocks the mutex
which is not locked. So lock the mutext before the first
error condition check.

Change-Id: I99b5db71de8703c95ca70141529c42fb330436e6
Signed-off-by: default avatarSe Wang (Patrick) Oh <sewango@codeaurora.org>
parent da830b29
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