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

Commit 063a1534 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "ASoC: wcd9335: enable APC in Tx path""

parents 831b748d ca6055e8
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -5913,8 +5913,6 @@ static int tasha_codec_enable_dec(struct snd_soc_dapm_widget *w,
					    CF_MIN_3DB_150HZ << 5);
		/* Enable TX PGA Mute */
		snd_soc_update_bits(codec, tx_vol_ctl_reg, 0x10, 0x10);
		/* Enable APC */
		snd_soc_update_bits(codec, dec_cfg_reg, 0x08, 0x08);
		break;
	case SND_SOC_DAPM_POST_PMU:
		snd_soc_update_bits(codec, hpf_gate_reg, 0x01, 0x00);
@@ -5941,7 +5939,6 @@ static int tasha_codec_enable_dec(struct snd_soc_dapm_widget *w,
		hpf_cut_off_freq =
			tasha->tx_hpf_work[decimator].hpf_cut_off_freq;
		snd_soc_update_bits(codec, tx_vol_ctl_reg, 0x10, 0x10);
		snd_soc_update_bits(codec, dec_cfg_reg, 0x08, 0x00);
		if (cancel_delayed_work_sync(
		    &tasha->tx_hpf_work[decimator].dwork)) {
			if (hpf_cut_off_freq != CF_MIN_3DB_150HZ) {