asoc: codecs: lpass-cdc: reset the decimator sampling rate to default
While disabling the Decimator, reset the sampling rate to default value. Change-Id: If07aeb69ddff459d0fdf8dfd4ccb7b3d8ed97743 Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
Este commit está contenido en:
@@ -1072,6 +1072,8 @@ static int lpass_cdc_tx_macro_enable_dec(struct snd_soc_dapm_widget *w,
|
||||
dec_cfg_reg, 0x06, 0x00);
|
||||
snd_soc_component_update_bits(component, tx_vol_ctl_reg,
|
||||
0x10, 0x00);
|
||||
snd_soc_component_update_bits(component, tx_fs_reg,
|
||||
0x0F, 0x04);
|
||||
if (tx_priv->bcs_enable) {
|
||||
snd_soc_component_update_bits(component, dec_cfg_reg,
|
||||
0x01, 0x00);
|
||||
|
@@ -1392,6 +1392,8 @@ static int lpass_cdc_va_macro_enable_dec(struct snd_soc_dapm_widget *w,
|
||||
0x40, 0x00);
|
||||
snd_soc_component_update_bits(component, tx_vol_ctl_reg,
|
||||
0x10, 0x00);
|
||||
snd_soc_component_update_bits(component, tx_fs_reg,
|
||||
0x0F, 0x04);
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
|
Referencia en una nueva incidencia
Block a user