mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
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>
This commit is contained in:
parent
a89e611a1d
commit
0cade26e36
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user