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

Commit c555b028 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

ASoC: wm8727: add a missing return in wm8727_platform_probe



otherwise the error path will always be executed.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 63772783
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -127,6 +127,8 @@ static __devinit int wm8727_platform_probe(struct platform_device *pdev)
		goto err_codec;
	}

	return 0;

err_codec:
	snd_soc_unregister_codec(codec);
err: