提交 0cade26e 编写于 作者: M Michael Hennerich 提交者: Mark Brown

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: NMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: NBryan Wu <cooloney@kernel.org>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 a89e611a
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册