Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf9e92e1 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: qpnp-smb5: Do not use ibatt based termination for QG PMICs"

parents 2258de68 e1cf8dfc
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -2251,6 +2251,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);
@@ -2259,6 +2260,7 @@ static int smb5_configure_iterm_thresholds(struct smb5 *chip)
						rc);
				return rc;
			}
		}
		rc = smb5_configure_iterm_thresholds_adc(chip);
		break;
	default: