Loading drivers/power/supply/qcom/qpnp-smb5.c +10 −6 Original line number Diff line number Diff line Loading @@ -1491,15 +1491,19 @@ static int smb5_configure_typec(struct smb_charger *chg) return rc; } /* Keep VCONN in h/w controlled mode for PMI632 */ if (chg->smb_version != PMI632_SUBTYPE) { /* configure VCONN for software control */ rc = smblib_masked_write(chg, TYPE_C_VCONN_CONTROL_REG, VCONN_EN_SRC_BIT | VCONN_EN_VALUE_BIT, VCONN_EN_SRC_BIT); if (rc < 0) { dev_err(chg->dev, "Couldn't configure VCONN for SW control rc=%d\n", rc); "Couldn't configure VCONN for SW control rc=%d\n", rc); return rc; } } return rc; } Loading Loading
drivers/power/supply/qcom/qpnp-smb5.c +10 −6 Original line number Diff line number Diff line Loading @@ -1491,15 +1491,19 @@ static int smb5_configure_typec(struct smb_charger *chg) return rc; } /* Keep VCONN in h/w controlled mode for PMI632 */ if (chg->smb_version != PMI632_SUBTYPE) { /* configure VCONN for software control */ rc = smblib_masked_write(chg, TYPE_C_VCONN_CONTROL_REG, VCONN_EN_SRC_BIT | VCONN_EN_VALUE_BIT, VCONN_EN_SRC_BIT); if (rc < 0) { dev_err(chg->dev, "Couldn't configure VCONN for SW control rc=%d\n", rc); "Couldn't configure VCONN for SW control rc=%d\n", rc); return rc; } } return rc; } Loading