From 5d8f35764957b493acf09387564189c63082ae9a Mon Sep 17 00:00:00 2001 From: Laxminath Kasam Date: Wed, 31 Jul 2019 14:23:37 +0530 Subject: [PATCH] asoc: codecs: wcd937x: Update amic4 over adc3 recording Update AMIC4 over adc3 for wcd9375 as per HW sequences. Change-Id: Ie7c3713bee67d32cb7fba042848f52bcded8f4b0 Signed-off-by: Laxminath Kasam --- asoc/codecs/wcd937x/wcd937x.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/asoc/codecs/wcd937x/wcd937x.c b/asoc/codecs/wcd937x/wcd937x.c index fe0c65cfed..2a7857a4e2 100644 --- a/asoc/codecs/wcd937x/wcd937x.c +++ b/asoc/codecs/wcd937x/wcd937x.c @@ -1349,19 +1349,25 @@ static int wcd937x_enable_req(struct snd_soc_dapm_widget *w, snd_soc_component_update_bits(component, WCD937X_ANA_TX_CH2, 0x40, 0x40); snd_soc_component_update_bits(component, - WCD937X_DIGITAL_CDC_DIG_CLK_CTL, 0x30, 0x30); + WCD937X_ANA_TX_CH3_HPF, 0x40, 0x40); + snd_soc_component_update_bits(component, + WCD937X_DIGITAL_CDC_DIG_CLK_CTL, 0x70, 0x70); snd_soc_component_update_bits(component, WCD937X_ANA_TX_CH1, 0x80, 0x80); snd_soc_component_update_bits(component, WCD937X_ANA_TX_CH2, 0x40, 0x00); snd_soc_component_update_bits(component, WCD937X_ANA_TX_CH2, 0x80, 0x80); + snd_soc_component_update_bits(component, + WCD937X_ANA_TX_CH3, 0x80, 0x80); break; case SND_SOC_DAPM_POST_PMD: snd_soc_component_update_bits(component, WCD937X_ANA_TX_CH1, 0x80, 0x00); snd_soc_component_update_bits(component, WCD937X_ANA_TX_CH2, 0x80, 0x00); + snd_soc_component_update_bits(component, + WCD937X_ANA_TX_CH3, 0x80, 0x00); snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_DIG_CLK_CTL, 0x10, 0x00); mutex_lock(&wcd937x->ana_tx_clk_lock);