Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cade26e authored by Michael Hennerich's avatar Michael Hennerich Committed by Mark Brown
Browse files

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: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent a89e611a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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: