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

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

Merge "power: qpnp-fg: do not charge unknown hotswapped batteries"

parents 37e0fa38 aee06591
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1656,7 +1656,9 @@ wait:
							fg_batt_type);
	if (!profile_node) {
		pr_err("couldn't find profile handle\n");
		return -ENODATA;
		old_batt_type = default_batt_type;
		rc = -ENODATA;
		goto fail;
	}

	rc = of_property_read_u32(profile_node, "qcom,max-voltage-uv",