[PATCH] ASoC: Intel: Boards: cml_da7219_max98390: add capture stream for echo reference

mac.chiang at intel.com mac.chiang at intel.com
Thu Apr 1 16:00:13 CEST 2021


From: Mac Chiang <mac.chiang at intel.com>

enable speaker capture dai link for feedback path

Signed-off-by: Mac Chiang <mac.chiang at intel.com>
---
 sound/soc/intel/boards/bxt_da7219_max98357a.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/intel/boards/bxt_da7219_max98357a.c b/sound/soc/intel/boards/bxt_da7219_max98357a.c
index 0c0a7178..9ffef39 100644
--- a/sound/soc/intel/boards/bxt_da7219_max98357a.c
+++ b/sound/soc/intel/boards/bxt_da7219_max98357a.c
@@ -813,6 +813,7 @@ static int broxton_audio_probe(struct platform_device *pdev)
 				if (ctx->spkamp == SPKAMP_MAX98390) {
 					broxton_dais[i].codecs = max98390_codec;
 					broxton_dais[i].num_codecs = ARRAY_SIZE(max98390_codec);
+					broxton_dais[i].dpcm_capture = 1;
 				}
 			}
 			/* DIALOG_CODEC is connected to SSP0 */
-- 
2.7.4



More information about the Alsa-devel mailing list