thermal: tsens: Update interrupt handling
There may be a case where if the temperature lowers
below the set threshold thermal driver may skip setting
thresholds as part of optimization instead of resetting new
thresholds. This may leave the sensor trips disabled. Let
thermal core decide on enabling or disabling the sensor.
Remove masking interrupt within TSENS (Temperature sensor)
driver Upper/Lower interrupt threaded IRQ handling. Instead
let the thermal core handle setting trip thresholds and
activate or mask the sensor interrupt.
Change-Id: Ib205ca92716028b9841c12deb3ac2169278675a1
Signed-off-by:
Siddartha Mohanadoss <smohanad@codeaurora.org>
Loading
Please register or sign in to comment