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

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

Merge "power: qpnp-fg-gen4: Initialize SOH to -EINVAL"

parents 41988832 c2dc28c3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6196,6 +6196,7 @@ static int fg_gen4_probe(struct platform_device *pdev)
	chip->ki_coeff_full_soc[1] = -EINVAL;
	chip->esr_soh_cycle_count = -EINVAL;
	chip->calib_level = -EINVAL;
	chip->soh = -EINVAL;
	fg->regmap = dev_get_regmap(fg->dev->parent, NULL);
	if (!fg->regmap) {
		dev_err(fg->dev, "Parent regmap is unavailable\n");