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

Commit 04985ff9 authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

thermal: tsens: Notify client on temperature trip



Notify clients using of_thermal_handle_trip() once
TSENS receives a Upper/Lower temperature trip threshold.

Change-Id: If4d8ebbb23f48c8eecf3637fd19e0ca1a9ecd639
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent 66ad6f80
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -493,6 +493,7 @@ static irqreturn_t tsens_tm_irq_thread(int irq, void *data)
			/* Use id for multiple controllers */
			pr_debug("sensor:%d trigger temp (%d degC)\n",
				tm->sensor[i].hw_id, temp);
			of_thermal_handle_trip(tm->sensor[i].tzd);
		}
	}