projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6377278
)
ASoC: wm8727: add a missing return in wm8727_platform_probe
author
Axel Lin
<axel.lin@gmail.com>
Wed, 14 Jul 2010 10:57:31 +0000
(18:57 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 14 Jul 2010 19:12:18 +0000
(20:12 +0100)
otherwise the error path will always be executed.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8727.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8727.c
b/sound/soc/codecs/wm8727.c
index
1072621
..
9d1df26
100644
(file)
--- a/
sound/soc/codecs/wm8727.c
+++ b/
sound/soc/codecs/wm8727.c
@@
-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: