asoc: wcd937x: disable TX CH2 after power down

TX channel2 is not disabled after power down. It leads to
noise at the beginning of next recording on CH2.
Disable it after power down.

Change-Id: If12a84df52b9c8cd55de2bdcb91f950b054898b8
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
这个提交包含在:
Xiaojun Sang
2018-11-02 12:42:05 +08:00
父节点 1ab95845cf
当前提交 80eb5ddfdd

查看文件

@@ -1086,6 +1086,7 @@ static int wcd937x_enable_req(struct snd_soc_dapm_widget *w,
break;
case SND_SOC_DAPM_POST_PMD:
snd_soc_update_bits(codec, WCD937X_ANA_TX_CH1, 0x80, 0x00);
snd_soc_update_bits(codec, WCD937X_ANA_TX_CH2, 0x80, 0x00);
snd_soc_update_bits(codec, WCD937X_DIGITAL_CDC_DIG_CLK_CTL,
0x10, 0x00);
snd_soc_update_bits(codec, WCD937X_DIGITAL_CDC_ANA_CLK_CTL,