aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/soc-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index ae48f1013e80..d877ec57d761 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -4315,10 +4315,10 @@ void snd_soc_remove_platform(struct snd_soc_platform *platform)
4315 snd_soc_component_del_unlocked(&platform->component); 4315 snd_soc_component_del_unlocked(&platform->component);
4316 mutex_unlock(&client_mutex); 4316 mutex_unlock(&client_mutex);
4317 4317
4318 snd_soc_component_cleanup(&platform->component);
4319
4320 dev_dbg(platform->dev, "ASoC: Unregistered platform '%s'\n", 4318 dev_dbg(platform->dev, "ASoC: Unregistered platform '%s'\n",
4321 platform->component.name); 4319 platform->component.name);
4320
4321 snd_soc_component_cleanup(&platform->component);
4322} 4322}
4323EXPORT_SYMBOL_GPL(snd_soc_remove_platform); 4323EXPORT_SYMBOL_GPL(snd_soc_remove_platform);
4324 4324