ASoC: Fix Blackfin AC97 DAI probe function return code
authorMichael Hennerich <michael.hennerich@analog.com>
Tue, 18 Nov 2008 08:18:19 +0000 (16:18 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 18 Nov 2008 12:32:11 +0000 (12:32 +0000)
A probe function should have a clean return 0 path.

Cc: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/blackfin/bf5xx-ac97.c

index 65c162c4bfadd89a913e14d3900dfa09aaff5d39..5dcd3f665ab1bfb152f5feecc1bb4a8ced0a559a 100644 (file)
@@ -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: