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

Commit f368673e authored by Jishnu Prakash's avatar Jishnu Prakash
Browse files

thermal: tsens: Add notification to thermal trip handler



Thermal framework needs to be notified when a threshold
interrupt occurs to enable it to update thresholds. Add
notification to thermal framework trip handler in tsens1xxx
IRQ handler.

Change-Id: Ic6651d449aff72daa7ebe7990698a8b16fafa313
Signed-off-by: default avatarJishnu Prakash <jprakash@codeaurora.org>
parent ebaa2888
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -395,7 +395,8 @@ static irqreturn_t tsens_irq_thread(int irq, void *data)
				tm->sensor[i].hw_id,
				code_to_degc((status &
				TSENS_SN_STATUS_TEMP_MASK),
				tm->sensor));
				(tm->sensor + i)));
			of_thermal_handle_trip(tm->sensor[i].tzd);
		}
	}