projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
016ab46
)
ASoC: core: cleanup platform debugfs on probe failure.
author
Liam Girdwood
<lrg@ti.com>
Fri, 2 Mar 2012 16:13:44 +0000
(16:13 +0000)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Fri, 2 Mar 2012 16:20:44 +0000
(16:20 +0000)
Make sure we cleanup the platform debugfs when probe fails.
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-core.c
b/sound/soc/soc-core.c
index
1bdc67e
..
29dbbd7
100644
(file)
--- a/
sound/soc/soc-core.c
+++ b/
sound/soc/soc-core.c
@@
-1112,6
+1112,7
@@
static int soc_probe_platform(struct snd_soc_card *card,
return 0;
err_probe:
+ soc_cleanup_platform_debugfs(platform);
module_put(platform->dev->driver->owner);
return ret;