Skip to content

Commit d280cf5

Browse files
vijendarmukundabroonie
authored andcommitted
ASoC: sdw_utils: Update stream_name in dai_links structure
For sof stack, dai_link->stream name will be assigned. For legacy(No DSP enabled) stack, dai_link->stream name should be updated explicitly. Update the stream_name in dai_link structure. Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://patch.msgid.link/20241101020802.1103181-3-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 485df22 commit d280cf5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/sdw_utils/soc_sdw_utils.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,7 @@ void asoc_sdw_init_dai_link(struct device *dev, struct snd_soc_dai_link *dai_lin
10221022
dev_dbg(dev, "create dai link %s, id %d\n", name, *be_id);
10231023
dai_links->id = (*be_id)++;
10241024
dai_links->name = name;
1025+
dai_links->stream_name = name;
10251026
dai_links->platforms = platform_component;
10261027
dai_links->num_platforms = num_platforms;
10271028
dai_links->no_pcm = no_pcm;

0 commit comments

Comments
 (0)