* [PATCH] ASoC: core - cleanup platform debugfs on probe failure.
@ 2012-03-02 16:13 Liam Girdwood
2012-03-02 16:20 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Liam Girdwood @ 2012-03-02 16:13 UTC (permalink / raw)
To: Mark Brown; +Cc: alsa-devel, Liam Girdwood
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: core - cleanup platform debugfs on probe failure.
2012-03-02 16:13 [PATCH] ASoC: core - cleanup platform debugfs on probe failure Liam Girdwood
@ 2012-03-02 16:20 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-03-02 16:20 UTC (permalink / raw)
To: Liam Girdwood; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 143 bytes --]
On Fri, Mar 02, 2012 at 04:13:44PM +0000, Liam Girdwood wrote:
> Make sure we cleanup the platform debugfs when probe fails.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-02 16:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-02 16:13 [PATCH] ASoC: core - cleanup platform debugfs on probe failure Liam Girdwood
2012-03-02 16:20 ` Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.