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

Commit 6204598e authored by Harry Yang's avatar Harry Yang
Browse files

smb138x-charger: Fix max conn temp config



The value of device tree property qcom,connector-temp-max-mdegc is
passed to a wrong variable. Fix it.

CRs-Fixed: 1077217
Change-Id: I705467d91dd8e5e9ea4aa0ab231e29c512608f36
Signed-off-by: default avatarHarry Yang <harryy@codeaurora.org>
parent 5e0bfbe5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ static int smb138x_parse_dt(struct smb138x *chip)

	rc = of_property_read_u32(node,
				"qcom,connector-temp-max-mdegc",
				&chip->dt.chg_temp_max_mdegc);
				&chip->dt.connector_temp_max_mdegc);
	if (rc < 0)
		chip->dt.connector_temp_max_mdegc = 105000;