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>
This commit is contained in:
parent
d7fa710423
commit
e1cffe8c9f
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue