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

Commit 2788a8c1 authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

thermal: tsens: Mask tsens interrupt in IRQ handler



During suspend entry or exit, when an interrupt occurs, thermal framework
will ignore the interrupt notification sent from the sensor drivers. It
wont compute a new threshold and send it back. Not disabling the
interrupt in the IRQ handler in this case will lead to interrupt storm.

Mask the particular sensor in IRQ handler and rely on thermal
framework set_trips callback to mask or unmask the sensor interrupt
based on the threshold.

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