Merge "power: smb5: Fix LPD flag for PMI632"

This commit is contained in:
qctecmdr 2020-10-09 19:37:41 -07:00 • committed by Gerrit - the friendly Code Review server
commit 20ae78af5d

View file

@ -449,7 +449,8 @@ static int smb5_parse_dt_misc(struct smb5 *chip, struct device_node *node)
chg->pd_not_supported = chg->pd_not_supported ||
of_property_read_bool(node, "qcom,usb-pd-disable");
chg->lpd_disabled = of_property_read_bool(node, "qcom,lpd-disable");
chg->lpd_disabled = chg->lpd_disabled ||
of_property_read_bool(node, "qcom,lpd-disable");
rc = of_property_read_u32(node, "qcom,wd-bark-time-secs",
&chip->dt.wd_bark_time);