ASoC: amd: acp: Add i2s bt support for nau8821-max card
authorVenkata Prasad Potturu <venkataprasad.potturu@amd.com>
Wed, 6 Dec 2023 11:06:16 +0000 (16:36 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 6 Dec 2023 19:10:04 +0000 (19:10 +0000)
Add i2s bt support for sof-nau8821-max sound card.

Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
Link: https://lore.kernel.org/r/20231206110620.1695591-5-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-sof-mach.c

index 5223033a122f86fc290f054c8dae98e12639678a..2a9fd3275e42f5fa1086d10baf4a8cc4cc2b69b1 100644 (file)
@@ -3,7 +3,7 @@
 // This file is provided under a dual BSD/GPLv2 license. When using or
 // redistributing this file, you may do so under either license.
 //
-// Copyright(c) 2021 Advanced Micro Devices, Inc.
+// Copyright(c) 2021, 2023 Advanced Micro Devices, Inc.
 //
 // Authors: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
 //
@@ -86,9 +86,11 @@ static struct acp_card_drvdata sof_rt5682s_hs_rt1019_data = {
 static struct acp_card_drvdata sof_nau8821_max98388_data = {
        .hs_cpu_id = I2S_SP,
        .amp_cpu_id = I2S_HS,
+       .bt_cpu_id = I2S_BT,
        .dmic_cpu_id = NONE,
        .hs_codec_id = NAU8821,
        .amp_codec_id = MAX98388,
+       .bt_codec_id = NONE,
        .dmic_codec_id = NONE,
        .soc_mclk = true,
        .tdm_mode = false,