Pārlūkot izejas kodu

asoc: codec: Unmute WSA for ADIE loopback

Unmute WSA after enabling main path for
ADIE loopback cases.

Change-Id: I850aa4dbcf77371811010c1d614c6c7e94736971
Signed-off-by: Eric Rosas <[email protected]>
Eric Rosas 2 gadi atpakaļ
vecāks
revīzija
2c2db12700

+ 2 - 0
asoc/codecs/lpass-cdc/lpass-cdc-wsa-macro.c

@@ -1664,6 +1664,8 @@ static int lpass_cdc_wsa_macro_enable_main_path(struct snd_soc_dapm_widget *w,
 			snd_soc_component_update_bits(component,
 						reg, 0x20, 0x20);
 			lpass_cdc_wsa_pa_on(wsa_dev, adie_lb);
+			snd_soc_component_update_bits(component,
+						reg, 0x10, 0x00);
 		}
 		break;
 	default:

+ 2 - 0
asoc/codecs/lpass-cdc/lpass-cdc-wsa2-macro.c

@@ -1670,6 +1670,8 @@ static int lpass_cdc_wsa2_macro_enable_main_path(struct snd_soc_dapm_widget *w,
 			snd_soc_component_update_bits(component,
 						reg, 0x20, 0x20);
 			lpass_cdc_wsa_pa_on(wsa2_dev, adie_lb);
+			snd_soc_component_update_bits(component,
+						reg, 0x10, 0x00);
 		}
 		break;
 	default: