Преглед на файлове

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

qctecmdr преди 2 години
родител
ревизия
34e547a74b
променени са 2 файла, в които са добавени 8 реда и са изтрити 0 реда
  1. 4 0
      asoc/codecs/lpass-cdc/lpass-cdc-tx-macro.c
  2. 4 0
      asoc/codecs/lpass-cdc/lpass-cdc-va-macro.c

+ 4 - 0
asoc/codecs/lpass-cdc/lpass-cdc-tx-macro.c

@@ -1054,6 +1054,10 @@ static int lpass_cdc_tx_macro_enable_dec(struct snd_soc_dapm_widget *w,
 	case SND_SOC_DAPM_POST_PMD:
 		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,
 			dec_cfg_reg, 0x06, 0x00);
 		snd_soc_component_update_bits(component, tx_vol_ctl_reg,

+ 4 - 0
asoc/codecs/lpass-cdc/lpass-cdc-va-macro.c

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