asoc: lpass-cdc: reset TX datapath during path teardown

When switching from 16KHz to 48KHz recording, mute issue happens.
Addd TX datapath reset during path teardown to resolve this issue.

Change-Id: I7445b397c20ce4e4968fec2326267f63dcba5a8c
Signed-off-by: Meng Wang <quic_mengw@quicinc.com>
这个提交包含在:
Meng Wang
2021-12-03 09:48:45 +08:00
提交者 Gerrit - the friendly Code Review server
父节点 c2adcdf8a0
当前提交 5938e32aac
修改 2 个文件,包含 8 行新增0 行删除

查看文件

@@ -1383,6 +1383,10 @@ static int lpass_cdc_va_macro_enable_dec(struct snd_soc_dapm_widget *w,
/* Disable TX CLK */
snd_soc_component_update_bits(component, tx_vol_ctl_reg,
0x20, 0x00);
snd_soc_component_update_bits(component, tx_vol_ctl_reg,
0x40, 0x40);
snd_soc_component_update_bits(component, tx_vol_ctl_reg,
0x40, 0x00);
snd_soc_component_update_bits(component, tx_vol_ctl_reg,
0x10, 0x00);
break;