ASoC: fsl-ssi: Add missing clk_disable_unprepare() on error in fsl_ssi_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 9 Jan 2014 14:27:31 +0000 (22:27 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 9 Jan 2014 17:26:01 +0000 (17:26 +0000)
Add the missing clk_disable_unprepare() before return from
fsl_ssi_probe() in the request irq error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_ssi.c

index f662ddd..6c2f040 100644 (file)
@@ -1439,7 +1439,7 @@ static int fsl_ssi_probe(struct platform_device *pdev)
                if (ret < 0) {
                        dev_err(&pdev->dev, "could not claim irq %u\n",
                                        ssi_private->irq);
-                       goto error_irqmap;
+                       goto error_clk;
                }
        }