From: Wei Yongjun Date: Thu, 9 Jan 2014 14:27:31 +0000 (+0800) Subject: ASoC: fsl-ssi: Add missing clk_disable_unprepare() on error in fsl_ssi_probe() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e1cffe8c9f3a4f74b8b212c9fbe2873a8ee2f395;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Mark Brown --- 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; } }