Skip to content

Commit 2afc29f

Browse files
committed
ASoC: Intel: sof_sdw: append dai type to dai link name unconditionally
The dai type information is used to selected the function topologies. And the topology stream name and dai link name are partial match, so append the dai type will not impact the existing topologies. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent d2be53a commit 2afc29f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

sound/soc/intel/boards/sof_sdw.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -928,6 +928,12 @@ static int create_sdw_dailink(struct snd_soc_card *card,
928928
}
929929
}
930930

931+
/*
932+
* Append the dai type unconditionally since function topology need the dai type
933+
* information and the topology stream name and dai link name are partial match,
934+
* so append the dai type will not impact the existing topologies.
935+
*/
936+
ctx->append_dai_type = true;
931937
for_each_pcm_streams(stream) {
932938
static const char * const sdw_stream_name[] = {
933939
"SDW%d-Playback",

0 commit comments

Comments
 (0)