projects
/
openwrt
/
staging
/
blogic.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 1bdc67e0bd16eb4c8fa59ea8a2c3a24feea3257b..29dbbd793fc6267796e1f3a68109fa5295bb661d 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;