msm: limits: Bypass sensor poll disable if sensor throttling
Fix concurrency issues when a read and new throttling
intensity value updation happens simultaneously.
Added a new return value in interrupt reset API to notify
the caller that the particular sensor is still throttling.
On receiving this error, the lmh interface driver should
not reset interrupt but try again to read the throttling
intensity value later.
Change-Id: I883e4c6b9438ff73d9451acc897b623db9c677cf
Signed-off-by:
Ram Chandrasekar <rkumbako@codeaurora.org>
Loading
Please register or sign in to comment