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>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user