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

Commit 3386817d authored by zhanghangzhou's avatar zhanghangzhou Committed by lio.chen
Browse files

Charger: Fix the battery voltage exceeds the limit value.

Change-Id: I2a0f7cdf668e15e87b7bbf722adad68086b5b8cc
parent e7f0ade4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3984,6 +3984,8 @@ static int pe50_start_algo(struct chg_alg_device *alg)

	if (pe50_is_algo_running(alg))
		return ALG_RUNNING;
	if(pe50_is_algo_finish(alg))
		return ALG_DONE;
	mutex_lock(&data->lock);
	PE50_DBG("++\n");
	if (!data->inited || !data->ta_ready) {