ASoC: amd: acp-config: Update sof_tplg_filename for SOF machines

SOF machines support different codec end points and hence required
different topologies configuration. Update tplg filename in machine
struct to load different topology files for SOF machines.

Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
Reviewed-by: Curtis Malainey <curtis@malainey.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211221161814.236318-3-AjitKumar.Pandey@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Ajit Kumar Pandey 2021-12-21 21:48:09 +05:30 committed by Mark Brown
parent f487201343
commit 0082e3299a
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -90,7 +90,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_amd_sof_machines[] = {
.machine_quirk = snd_soc_acpi_codec_list, .machine_quirk = snd_soc_acpi_codec_list,
.quirk_data = &amp_rt1019, .quirk_data = &amp_rt1019,
.fw_filename = "sof-rn.ri", .fw_filename = "sof-rn.ri",
.sof_tplg_filename = "sof-acp.tplg", .sof_tplg_filename = "sof-rn-rt5682-rt1019.tplg",
}, },
{ {
.id = "10EC5682", .id = "10EC5682",
@ -99,7 +99,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_amd_sof_machines[] = {
.machine_quirk = snd_soc_acpi_codec_list, .machine_quirk = snd_soc_acpi_codec_list,
.quirk_data = &amp_max, .quirk_data = &amp_max,
.fw_filename = "sof-rn.ri", .fw_filename = "sof-rn.ri",
.sof_tplg_filename = "sof-acp.tplg", .sof_tplg_filename = "sof-rn-rt5682-max98360.tplg",
}, },
{ {
.id = "RTL5682", .id = "RTL5682",
@ -108,7 +108,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_amd_sof_machines[] = {
.machine_quirk = snd_soc_acpi_codec_list, .machine_quirk = snd_soc_acpi_codec_list,
.quirk_data = &amp_max, .quirk_data = &amp_max,
.fw_filename = "sof-rn.ri", .fw_filename = "sof-rn.ri",
.sof_tplg_filename = "sof-acp.tplg", .sof_tplg_filename = "sof-rn-rt5682-max98360.tplg",
}, },
{ {
.id = "AMDI1019", .id = "AMDI1019",