Loading drivers/power/supply/qcom/qpnp-smb5.c +9 −7 Original line number Diff line number Diff line Loading @@ -2165,6 +2165,7 @@ static int smb5_configure_iterm_thresholds(struct smb5 *chip) switch (chip->dt.term_current_src) { case ITERM_SRC_ADC: if (chip->chg.smb_version == PM8150B_SUBTYPE) { rc = smblib_masked_write(chg, CHGR_ADC_TERM_CFG_REG, TERM_BASED_ON_SYNC_CONV_OR_SAMPLE_CNT, TERM_BASED_ON_SAMPLE_CNT); Loading @@ -2173,6 +2174,7 @@ static int smb5_configure_iterm_thresholds(struct smb5 *chip) rc); return rc; } } rc = smb5_configure_iterm_thresholds_adc(chip); break; default: Loading Loading
drivers/power/supply/qcom/qpnp-smb5.c +9 −7 Original line number Diff line number Diff line Loading @@ -2165,6 +2165,7 @@ static int smb5_configure_iterm_thresholds(struct smb5 *chip) switch (chip->dt.term_current_src) { case ITERM_SRC_ADC: if (chip->chg.smb_version == PM8150B_SUBTYPE) { rc = smblib_masked_write(chg, CHGR_ADC_TERM_CFG_REG, TERM_BASED_ON_SYNC_CONV_OR_SAMPLE_CNT, TERM_BASED_ON_SAMPLE_CNT); Loading @@ -2173,6 +2174,7 @@ static int smb5_configure_iterm_thresholds(struct smb5 *chip) rc); return rc; } } rc = smb5_configure_iterm_thresholds_adc(chip); break; default: Loading