提交 ae6f636b 编写于 作者: A Andrew Jackson 提交者: Mark Brown

ASoC: adi: Add missing return statement.

The probe routine was disabling the clock even
if the system was configured successfully.  Add
a return statement to leave clocks enabled.
Signed-off-by: NAndrew Jackson <Andrew.Jackson@arm.com>
Acked-by: NLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 97bf6af1
......@@ -240,6 +240,8 @@ static int axi_i2s_probe(struct platform_device *pdev)
if (ret)
goto err_clk_disable;
return 0;
err_clk_disable:
clk_disable_unprepare(i2s->clk);
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册