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

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

Merge "power: vm-bms: Skip SOC monitoring logic for a debug-board" into kernel.lnx.4.9.r12-rel

parents f10a1950 748c3668
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2106,6 +2106,10 @@ static void monitor_soc_work(struct work_struct *work)
				monitor_soc_work.work);
	int rc, new_soc = 0, batt_temp;

	/*skip if its a debug-board */
	if (is_debug_batt_id(chip))
		return;

	bms_stay_awake(&chip->vbms_soc_wake_source);

	calculate_delta_time(&chip->tm_sec, &chip->delta_time_s);