projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79fb938
)
ASoC: free socdev if init_card() fails in wm9705_soc_probe()
author
Roel Kluin
<roel.kluin@gmail.com>
Sat, 22 Aug 2009 19:24:24 +0000
(21:24 +0200)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Sun, 23 Aug 2009 09:41:06 +0000
(10:41 +0100)
Free socdev if snd_soc_init_card() fails.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm9705.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/wm9705.c
b/sound/soc/codecs/wm9705.c
index fa88b463e71f37f4a07bc830db69c50d2e52b39c..e7d2840d9e59d22e344b6c9792fe1be6ec9b1fd9 100644
(file)
--- a/
sound/soc/codecs/wm9705.c
+++ b/
sound/soc/codecs/wm9705.c
@@
-406,7
+406,7
@@
static int wm9705_soc_probe(struct platform_device *pdev)
ret = snd_soc_init_card(socdev);
if (ret < 0) {
printk(KERN_ERR "wm9705: failed to register card\n");
- goto
pcm
_err;
+ goto
reset
_err;
}
return 0;