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:
Ram Chandrasekar <rkumbako@codeaurora.org>
Loading
Please register or sign in to comment