ASoC: core - cleanup platform debugfs on probe failure.
PATCH 1/1 ASoC: core - cleanup platform debugfs on probe failure.
Make sure we cleanup the platform debugfs when probe fails.
Signed-off-by Liam Girdwood <[email protected]>
--- sound/soc/soc-core.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/soc-core.c +1 -0
@@ -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;
Signature · 1 line
1.7.5.4
Mark Brown
AppliedQuoted 1 line · Liam Girdwood
Make sure we cleanup the platform debugfs when probe fails.
Applied, thanks.