From f98ddd622716f4fa9dcca9c7e5967594c6aacb6b Mon Sep 17 00:00:00 2001 From: Bard Liao Date: Thu, 25 May 2023 09:00:38 +0800 Subject: [PATCH] topology2: sdw-amp-generic: set virtual widget type output Widget type snd_soc_dapm_out_drv and snd_soc_dapm_output will be treat as virtual widget and be ignored in sof topology in kernel. We need to set type = output or out_drv in topology when it is a virtual widget. Fixes: 3835846836d4 ("topology2: sdw-amp-generic: Show all aggregated DAIs on the graph") Signed-off-by: Bard Liao --- tools/topology/topology2/platform/intel/sdw-amp-generic.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/topology/topology2/platform/intel/sdw-amp-generic.conf b/tools/topology/topology2/platform/intel/sdw-amp-generic.conf index 605534de8319..9713b26e015b 100644 --- a/tools/topology/topology2/platform/intel/sdw-amp-generic.conf +++ b/tools/topology/topology2/platform/intel/sdw-amp-generic.conf @@ -142,7 +142,7 @@ IncludeByKey.NUM_SDW_AMP_LINKS { virtual [ { name 'virtual.sdw-amp' - type input + type output index $ALH_2ND_SPK_ID } ]