[alsa-devel] [PATCH 13/17] ASoC: Fix Blackfin AC97 DAI probe function return code
Mark Brown
broonie at opensource.wolfsonmicro.com
Tue Nov 18 13:38:19 CET 2008
From: Michael Hennerich <michael.hennerich at analog.com>
A probe function should have a clean return 0 path.
Cc: Cliff Cai <cliff.cai at analog.com>
Signed-off-by: Michael Hennerich <michael.hennerich at analog.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
sound/soc/blackfin/bf5xx-ac97.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/sound/soc/blackfin/bf5xx-ac97.c b/sound/soc/blackfin/bf5xx-ac97.c
index 65c162c..5dcd3f6 100644
--- a/sound/soc/blackfin/bf5xx-ac97.c
+++ b/sound/soc/blackfin/bf5xx-ac97.c
@@ -378,6 +378,8 @@ static int bf5xx_ac97_probe(struct platform_device *pdev,
goto sport_config_err;
}
+ return 0;
+
sport_config_err:
kfree(sport_handle);
sport_err:
--
1.5.6.5
More information about the Alsa-devel
mailing list