commit | 02db110351019eef2d6b10e08162dd370542e9fd | [log] [tgz] |
---|---|---|
author | Liam Girdwood <lrg@ti.com> | Fri Mar 02 16:13:44 2012 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Mar 02 16:20:44 2012 +0000 |
tree | c5a8d1e2c388282b1704700000aac21e99fff7f9 | |
parent | 016ab467aa53639d68b03386885c481b8761018e [diff] [blame] |
ASoC: core: cleanup platform debugfs on probe failure. 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>
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 @@ return 0; err_probe: + soc_cleanup_platform_debugfs(platform); module_put(platform->dev->driver->owner); return ret;