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

Commit 0c8bc52d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "thermal: tsens: Update condition in critical_irq"

parents 3ea241de e38ccc9e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2453,7 +2453,7 @@ static irqreturn_t tsens_tm_critical_irq_thread(int irq, void *data)
	tm->crit_timestamp_last_interrupt_handled.time_stmp[idx%10] =
							sched_clock();
	tm->qtimer_val_last_detection_interrupt = arch_counter_get_cntpct();

	if (tsens_poll_check)
		complete(&tm->tsens_rslt_completion);
	/* Mask critical interrupt */
	mb();