浏览代码

ASoC: wcd937x: update micbias noise filter resistance

Update micbias noise filter resistance for better performance
during audio capture.

Change-Id: If80b967dd7f9bbf7e683c6da53a1aa93924c6877
Signed-off-by: Vatsal Bucha <[email protected]>
Vatsal Bucha 6 年之前
父节点
当前提交
eb7519911f
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      asoc/codecs/wcd937x/wcd937x.c

+ 6 - 0
asoc/codecs/wcd937x/wcd937x.c

@@ -134,6 +134,12 @@ static int wcd937x_init_reg(struct snd_soc_component *component)
 	snd_soc_component_update_bits(component,
 				WCD937X_HPH_SURGE_HPHLR_SURGE_EN,
 				0xFF, 0xD9);
+	snd_soc_component_update_bits(component, WCD937X_MICB1_TEST_CTL_1,
+				0xFF, 0xFA);
+	snd_soc_component_update_bits(component, WCD937X_MICB2_TEST_CTL_1,
+				0xFF, 0xFA);
+	snd_soc_component_update_bits(component, WCD937X_MICB3_TEST_CTL_1,
+				0xFF, 0xFA);
 	return 0;
 }