diff options
author | Jiada Wang <jiada_wang@mentor.com> | 2014-12-02 08:55:06 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-05 01:47:57 +0300 |
commit | 4c9a8845f95e852a21fe6cffbd7912107d71619c (patch) | |
tree | 5e6c0a5166877bc2b65020599005a619ff3e1d61 /sound/soc/fsl/fsl_ssi.c | |
parent | 2ffa531078037a002862d4befb14bc31aff5900d (diff) | |
download | linux-4c9a8845f95e852a21fe6cffbd7912107d71619c.tar.xz |
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/fsl_ssi.c')
-rw-r--r-- | sound/soc/fsl/fsl_ssi.c | 2 |
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) 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 |