summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhani Kumar Uppalapati <phaniu@codeaurora.org>2017-04-05 11:45:51 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-05 11:55:51 -0700
commit974f3b69b4787a7bafb117a6285594a6dc6b6301 (patch)
tree3ca5e9654aff02f9853d04239e702a4006f91b09
parentc5751be200944a09b816a30e5ef698f41e0cfc0f (diff)
Revert "ASoC: wcd9335: enable APC in Tx path"
This reverts 'commit 95939f7808e6 ("ASoC: wcd9335: enable APC in Tx path")' APC (Automatic Peak Control) causes volume difference in the audio signal if two ADCs share the same mic input. CRs-Fixed: 2021320 Change-Id: I63d83fd3e511f40f4da82afb4993f360b4c9f058 Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
-rw-r--r--sound/soc/codecs/wcd9335.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/wcd9335.c b/sound/soc/codecs/wcd9335.c
index d533984558f0..736270330074 100644
--- a/sound/soc/codecs/wcd9335.c
+++ b/sound/soc/codecs/wcd9335.c
@@ -5906,8 +5906,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);
@@ -5934,7 +5932,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) {