Loading drivers/power/qpnp-charger.c +6 −0 Original line number Diff line number Diff line Loading @@ -1181,6 +1181,9 @@ qpnp_chg_regulator_batfet_set(struct qpnp_chg_chip *chip, bool enable) { int rc = 0; if (chip->charging_disabled || !chip->bat_if_base) return rc; if (chip->type == SMBB) rc = qpnp_chg_masked_write(chip, chip->bat_if_base + CHGR_BAT_IF_SPARE, Loading Loading @@ -2465,6 +2468,9 @@ qpnp_chg_bat_if_batfet_reg_enabled(struct qpnp_chg_chip *chip) int rc = 0; u8 reg = 0; if (!chip->bat_if_base) return rc; if (chip->type == SMBB) rc = qpnp_chg_read(chip, ®, chip->bat_if_base + CHGR_BAT_IF_SPARE, 1); Loading Loading
drivers/power/qpnp-charger.c +6 −0 Original line number Diff line number Diff line Loading @@ -1181,6 +1181,9 @@ qpnp_chg_regulator_batfet_set(struct qpnp_chg_chip *chip, bool enable) { int rc = 0; if (chip->charging_disabled || !chip->bat_if_base) return rc; if (chip->type == SMBB) rc = qpnp_chg_masked_write(chip, chip->bat_if_base + CHGR_BAT_IF_SPARE, Loading Loading @@ -2465,6 +2468,9 @@ qpnp_chg_bat_if_batfet_reg_enabled(struct qpnp_chg_chip *chip) int rc = 0; u8 reg = 0; if (!chip->bat_if_base) return rc; if (chip->type == SMBB) rc = qpnp_chg_read(chip, ®, chip->bat_if_base + CHGR_BAT_IF_SPARE, 1); Loading