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

Commit aba49717 authored by Ram Chandrasekar's avatar Ram Chandrasekar Committed by Gerrit - the friendly Code Review server
Browse files

msm: lmh_lite: check intensity value before enabling interrupt



Update the driver to check the last read intensity
value for all sensors before enabling the interrupt.
Also clear the last read value before getting the
intensity value from trustzone. This will cover the
cases, where the trustzone read errored out.

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