summaryrefslogtreecommitdiff
path: root/sound/soc/sof/topology.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-09-10 10:27:43 +0200
committerTakashi Iwai <tiwai@suse.de>2024-09-10 10:28:00 +0200
commit5516e3f4763e3604b789b3567dafe4388eec4a8f (patch)
treec9f431037710140445cc18b672582a571c8e4c2f /sound/soc/sof/topology.c
parent28fbfaf6bd1df94cccf1a5c009fe26b9bdccc2b6 (diff)
parentc491b044cf5f8236742887ba59b30032036e4ac8 (diff)
Merge branch 'for-linus' into for-next
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/sof/topology.c')
-rw-r--r--sound/soc/sof/topology.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/sof/topology.c b/sound/soc/sof/topology.c
index b54382131991..496162df5270 100644
--- a/sound/soc/sof/topology.c
+++ b/sound/soc/sof/topology.c
@@ -2050,6 +2050,8 @@ static int sof_link_unload(struct snd_soc_component *scomp, struct snd_soc_dobj
if (!slink)
return 0;
+ slink->link->platforms->name = NULL;
+
kfree(slink->tuples);
list_del(&slink->list);
kfree(slink->hw_configs);