浏览代码

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 <[email protected]>
Laxminath Kasam 5 年之前
父节点
当前提交
5d8f357649
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      asoc/codecs/wcd937x/wcd937x.c

+ 7 - 1
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);