2 Mar
2012
2 Mar
'12
5:13 p.m.
Make sure we cleanup the platform debugfs when probe fails.
Signed-off-by: Liam Girdwood lrg@ti.com --- sound/soc/soc-core.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 1bdc67e..29dbbd7 100644 --- 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;
--
1.7.5.4