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

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

Merge "msm: thermal: Fix vdd restriction frequency apply code in KTM"

parents f9933c9a ee7be16d
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1458,9 +1458,12 @@ static int vdd_restriction_apply_all(int en)
	int ret = 0;

	for (i = 0; i < rails_cnt; i++) {
		if (rails[i].freq_req == 1 && freq_table_get)
		if (rails[i].freq_req == 1)
			if (freq_table_get)
				ret = vdd_restriction_apply_freq(&rails[i],
					en ? 0 : -1);
			else
				continue;
		else
			ret = vdd_restriction_apply_voltage(&rails[i],
					en ? 0 : -1);