Skip to content

Commit

Permalink
ASoC: Fix Blackfin AC97 DAI probe function return code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Hennerich authored and Mark Brown committed Nov 18, 2008
1 parent a89e611 commit 0cade26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/blackfin/bf5xx-ac97.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0cade26

Please sign in to comment.