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:
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
|
history
diff --git
a/sound/soc/fsl/fsl_ssi.c
b/sound/soc/fsl/fsl_ssi.c
index
ad12d4c
..
7dee341
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