diff options
author | Liam Girdwood <lrg@ti.com> | 2012-03-02 16:13:44 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-02 16:20:44 +0000 |
commit | 02db110351019eef2d6b10e08162dd370542e9fd (patch) | |
tree | c5a8d1e2c388282b1704700000aac21e99fff7f9 /sound/soc/soc-core.c | |
parent | 016ab467aa53639d68b03386885c481b8761018e (diff) | |
download | lwn-02db110351019eef2d6b10e08162dd370542e9fd.tar.gz lwn-02db110351019eef2d6b10e08162dd370542e9fd.zip |
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>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r-- | 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 1bdc67e0bd16..29dbbd793fc6 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; |