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

Commit 18ff0692 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 0fc59ddb 4975eefd
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -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);
@@ -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: