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:
Vangala, Amarnath
2023-07-28 18:12:49 +05:30
padre a6734b9ac0
commit c2e7e60fde
Se han modificado 2 ficheros con 4 adiciones y 0 borrados

Ver fichero

@@ -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);

Ver fichero

@@ -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;