diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2008-11-18 03:18:19 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-11-18 07:32:11 -0500 |
commit | 0cade26e366549adcf211f67200b2934c8220f05 (patch) | |
tree | f67be291921f1a2ce979a7805f485e8c7d4d99f7 /sound/soc | |
parent | a89e611a1dfefbf5d21f6def54c958bf6c4971bc (diff) |
ASoC: Fix Blackfin AC97 DAI probe function return code
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>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | 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 65c162c4bfad..5dcd3f665ab1 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, | |||
378 | goto sport_config_err; | 378 | goto sport_config_err; |
379 | } | 379 | } |
380 | 380 | ||
381 | return 0; | ||
382 | |||
381 | sport_config_err: | 383 | sport_config_err: |
382 | kfree(sport_handle); | 384 | kfree(sport_handle); |
383 | sport_err: | 385 | sport_err: |