summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_ssi.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-01-09 18:27:31 +0400
committerMark Brown <broonie@linaro.org>2014-01-09 21:26:01 +0400
commite1cffe8c9f3a4f74b8b212c9fbe2873a8ee2f395 (patch)
treebf64cfd699afec141d876f31367b1c73794fb6b6 /sound/soc/fsl/fsl_ssi.c
parentd7fa71042304fbc43cfc81d199b922759c67e013 (diff)
downloadlinux-e1cffe8c9f3a4f74b8b212c9fbe2873a8ee2f395.tar.xz
ASoC: fsl-ssi: Add missing clk_disable_unprepare() on error in fsl_ssi_probe()
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>
Diffstat (limited to 'sound/soc/fsl/fsl_ssi.c')
-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 f662dddf2085..6c2f040f49ae 100644
--- a/sound/soc/fsl/fsl_ssi.c
+++ b/sound/soc/fsl/fsl_ssi.c
@@ -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;
}
}