diff options
author | Jiada Wang <jiada_wang@mentor.com> | 2014-12-02 06:55:06 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-04 23:47:57 +0100 |
commit | 4c9a8845f95e852a21fe6cffbd7912107d71619c (patch) | |
tree | 5e6c0a5166877bc2b65020599005a619ff3e1d61 /sound/soc | |
parent | ASoC: fsl_ssi: Fix module unbound (diff) | |
download | linux-4c9a8845f95e852a21fe6cffbd7912107d71619c.tar.xz linux-4c9a8845f95e852a21fe6cffbd7912107d71619c.zip |
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')
-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 |