Skip to content

Commit

Permalink
ASoc: SOF: topology: connect DAI to a single DAI link
Browse files Browse the repository at this point in the history
Due to partial matching, DAI stream name may match to multiple
DAI links. Break out when a match is found as only a single link
can be connected to a SOF DAI object.

Fixes: fe88788 ("ASoC: SOF: topology: Use partial match for connecting DAI link and DAI widget")
Link: #5308
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
  • Loading branch information
kv2019i committed Jan 24, 2025
1 parent e0657c0 commit 4992360
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/sof/topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -1106,6 +1106,7 @@ static int sof_connect_dai_widget(struct snd_soc_component *scomp,
dai->name = rtd->dai_link->name;
dev_dbg(scomp->dev, "tplg: connected widget %s -> DAI link %s\n",
w->name, rtd->dai_link->name);
break;
}
end:
/* check we have a connection */
Expand Down

0 comments on commit 4992360

Please sign in to comment.