Commit ae6f636b authored by Andrew Jackson's avatar Andrew Jackson Committed by 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: default avatarAndrew Jackson <Andrew.Jackson@arm.com>
Acked-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment