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

Commit 53be57be authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "thermal: qcom-spmi-temp-alarm: Don't suppress negative temp"

parents 7f3dbdd7 8aaec512
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -202,7 +202,7 @@ static int qpnp_tm_get_temp(void *data, int *temp)
		chip->temp = mili_celsius;
	}

	*temp = chip->temp < 0 ? 0 : chip->temp;
	*temp = chip->temp;

	return 0;
}