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: Harry Yang <harryy@codeaurora.org>
This commit is contained in:
parent
3a7e752617
commit
a486d41bf8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue