diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-01-09 22:27:31 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-09 17:26:01 +0000 |
commit | e1cffe8c9f3a4f74b8b212c9fbe2873a8ee2f395 (patch) | |
tree | bf64cfd699afec141d876f31367b1c73794fb6b6 /sound/soc/fsl | |
parent | d7fa71042304fbc43cfc81d199b922759c67e013 (diff) |
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')
-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 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; } } |