summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-10-08 16:44:49 +0100
committerMark Brown <broonie@kernel.org>2014-10-08 16:44:49 +0100
commitb9fb729949bcd9e592a4c599d2d7875157181db9 (patch)
treeea7755a55656ca3febad3ced03229e3f2e81669d /sound/soc/soc-core.c
parent7b8ab38e8d9cc804f0d3c263bfaa62d82d8a2da7 (diff)
parent5e63dfccf34d4dbf21429c4919f33c028ff49991 (diff)
downloadlinux-b9fb729949bcd9e592a4c599d2d7875157181db9.tar.bz2
Merge remote-tracking branch 'asoc/fix/core' into asoc-linus
Diffstat (limited to 'sound/soc/soc-core.c')
-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 3d8cff629a18..4c8f8a23a0e9 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -4192,10 +4192,10 @@ void snd_soc_remove_platform(struct snd_soc_platform *platform)
snd_soc_component_del_unlocked(&platform->component);
mutex_unlock(&client_mutex);
- snd_soc_component_cleanup(&platform->component);
-
dev_dbg(platform->dev, "ASoC: Unregistered platform '%s'\n",
platform->component.name);
+
+ snd_soc_component_cleanup(&platform->component);
}
EXPORT_SYMBOL_GPL(snd_soc_remove_platform);