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

Commit 5d8f3576 authored by Laxminath Kasam's avatar Laxminath Kasam
Browse files

asoc: codecs: wcd937x: Update amic4 over adc3 recording



Update AMIC4 over adc3 for wcd9375 as per HW sequences.

Change-Id: Ie7c3713bee67d32cb7fba042848f52bcded8f4b0
Signed-off-by: default avatarLaxminath Kasam <lkasam@codeaurora.org>
parent 49ac33f0
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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);