Skip to content

Commit d615573

Browse files
committed
ASoC: soc-acpi-intel-arl-match: use function topology by default
With commit c84179a ("ASoC: Intel: sof_sdw: append dai type to dai link name unconditionally"), function topology can apply to all SoundWire codec configurations. Set .get_function_tplg_files callback to use function topology by default. If any required function topology can not be found in the file system, it will fallback to use the monolithic topology. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent 340397d commit d615573

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sound/soc/intel/common/soc-acpi-intel-arl-match.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_arl_sdw_machines[] = {
572572
.links = arl_rt711_l0_rt1316_l3,
573573
.drv_name = "sof_sdw",
574574
.sof_tplg_filename = "sof-arl-rt711-l0-rt1316-l3.tplg",
575+
.get_function_tplg_files = sof_sdw_get_tplg_files,
575576
},
576577
{
577578
.link_mask = BIT(0) | BIT(3),
@@ -600,12 +601,14 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_arl_sdw_machines[] = {
600601
.links = arl_rvp,
601602
.drv_name = "sof_sdw",
602603
.sof_tplg_filename = "sof-arl-rt711.tplg",
604+
.get_function_tplg_files = sof_sdw_get_tplg_files,
603605
},
604606
{
605607
.link_mask = 0x1, /* link0 required */
606608
.links = arl_sdca_rvp,
607609
.drv_name = "sof_sdw",
608610
.sof_tplg_filename = "sof-arl-rt711-l0.tplg",
611+
.get_function_tplg_files = sof_sdw_get_tplg_files,
609612
},
610613
{
611614
.link_mask = BIT(2),

0 commit comments

Comments
 (0)