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

Skip to content
Commit dfa8c3f1 authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

msm: limits: lmh_lite: Avoid deadlock while clearing work event



There is a possibility for deadlock situation when the
sensor reset API has acquired the write lock and tries to
clear the work event, which is already waiting on the
same lock.

In the reset API, update the polling status within the
critical section and try to clear the work event outside
of the critical section to avoid this deadlock.

Change-Id: I993381bd50aa3d0df1aa2c1d28d3f02683b2a3e1
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 3311f658
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