projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ffa531
)
ASoC: fsl_ssi: fix error path in probe
author
Jiada Wang
<jiada_wang@mentor.com>
Tue, 2 Dec 2014 05:55:06 +0000
(14:55 +0900)
committer
Mark Brown
<broonie@kernel.org>
Thu, 4 Dec 2014 22:47:57 +0000
(22:47 +0000)
SSI component isn't unregistered if fsl_ssi_debugfs_create() fails
in probe phase.
To fix it, this commit replaces label error_asoc_register with
error_irq.
Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_ssi.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/fsl/fsl_ssi.c
b/sound/soc/fsl/fsl_ssi.c
index ad12d4c5e8d2322b6d6f03a27e1677179eb62eeb..7dee341603b90b0a9532d6f3b2e6bd578ce50905 100644
(file)
--- a/
sound/soc/fsl/fsl_ssi.c
+++ b/
sound/soc/fsl/fsl_ssi.c
@@
-1410,7
+1410,7
@@
static int fsl_ssi_probe(struct platform_device *pdev)
ret = fsl_ssi_debugfs_create(&ssi_private->dbg_stats, &pdev->dev);
if (ret)
- goto error_
asoc_register
;
+ goto error_
irq
;
/*
* If codec-handle property is missing from SSI node, we assume