aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl
diff options
context:
space:
mode:
authorJiada Wang <jiada_wang@mentor.com>2014-12-02 00:55:06 -0500
committerMark Brown <broonie@kernel.org>2014-12-04 17:47:57 -0500
commit4c9a8845f95e852a21fe6cffbd7912107d71619c (patch)
tree5e6c0a5166877bc2b65020599005a619ff3e1d61 /sound/soc/fsl
parent2ffa531078037a002862d4befb14bc31aff5900d (diff)
ASoC: fsl_ssi: fix error path in probe
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>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r--sound/soc/fsl/fsl_ssi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c
index ad12d4c5e8d2..7dee341603b9 100644
--- 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)
1410 1410
1411 ret = fsl_ssi_debugfs_create(&ssi_private->dbg_stats, &pdev->dev); 1411 ret = fsl_ssi_debugfs_create(&ssi_private->dbg_stats, &pdev->dev);
1412 if (ret) 1412 if (ret)
1413 goto error_asoc_register; 1413 goto error_irq;
1414 1414
1415 /* 1415 /*
1416 * If codec-handle property is missing from SSI node, we assume 1416 * If codec-handle property is missing from SSI node, we assume