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

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

Merge "drivers: thermal: bcl: Update vbat vlow and clow trip threshold logic" into msm-4.9

parents e56d42df a6431e8b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ static int bcl_set_vbat(void *data, int low, int high)
		 */
		for (vbat_idx = 2; vbat_idx < BCL_STD_VBAT_NR;
			vbat_idx++) {
			if (vbat_uv > vbat_low[vbat_idx])
			if (vbat_uv >= vbat_low[vbat_idx])
				continue;
			break;
		}
@@ -274,7 +274,7 @@ static int bcl_set_vbat(void *data, int low, int high)
		 */
		for (vbat_idx = 1; vbat_idx < (BCL_STD_VBAT_NR - 1);
			vbat_idx++) {
			if (vbat_uv > vbat_low[vbat_idx])
			if (vbat_uv >= vbat_low[vbat_idx])
				continue;
			break;
		}