Skip to content

Commit

Permalink
ASoC: fsl-ssi: Add missing clk_disable_unprepare() on error in fsl_ss…
Browse files Browse the repository at this point in the history
…i_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>
  • Loading branch information
Wei Yongjun authored and Mark Brown committed Jan 9, 2014
1 parent d7fa710 commit e1cffe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/fsl/fsl_ssi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit e1cffe8

Please sign in to comment.