diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-01-09 09:27:31 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-09 12:26:01 -0500 |
commit | e1cffe8c9f3a4f74b8b212c9fbe2873a8ee2f395 (patch) | |
tree | bf64cfd699afec141d876f31367b1c73794fb6b6 /sound | |
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')
-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) | |||
1439 | if (ret < 0) { | 1439 | if (ret < 0) { |
1440 | dev_err(&pdev->dev, "could not claim irq %u\n", | 1440 | dev_err(&pdev->dev, "could not claim irq %u\n", |
1441 | ssi_private->irq); | 1441 | ssi_private->irq); |
1442 | goto error_irqmap; | 1442 | goto error_clk; |
1443 | } | 1443 | } |
1444 | } | 1444 | } |
1445 | 1445 | ||