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

Commit 9537a1d5 authored by Anirudh Ghayal's avatar Anirudh Ghayal Committed by Gerrit - the friendly Code Review server
Browse files

power: qpnp-qg: Fix a DT property name



Fix DT property name for "qcom,shutdown_soc_threshold".

Change-Id: Idb8772aecdcc30b781b7ee0349977995641c15c4
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent f2ec2afc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4376,7 +4376,7 @@ static int qg_parse_dt(struct qpnp_qg *chip)
	else
		chip->dt.esr_low_temp_threshold = (int)temp;

	rc = of_property_read_u32(node, "qcom,shutdown_soc_threshold", &temp);
	rc = of_property_read_u32(node, "qcom,shutdown-soc-threshold", &temp);
	if (rc < 0)
		chip->dt.shutdown_soc_threshold = -EINVAL;
	else