Thread (17 messages) 17 messages, 2 authors, 2014-12-22

[PATCH v3 4/5] ASoC: dwc: Add devicetree support for Designware I2S

From: broonie@kernel.org (Mark Brown)
Date: 2014-12-22 14:28:42
Also in: alsa-devel, lkml

On Fri, Dec 19, 2014 at 04:18:08PM +0000, Andrew Jackson wrote:
 	if (IS_ERR(dev->clk))
-		return  PTR_ERR(dev->clk);
+		return PTR_ERR(dev->clk);
+
+	ret = clk_prepare(dev->clk);
+	if (ret < 0)
+		goto err_clk_put;
This isn't adding device tree support, it's adding use of clk_prepare()
which is a separate change and is normally better done by converting to
use clk_prepare_enable().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141222/f8d5f7f8/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help