Thread (26 messages) flat view 26 messages, 6 authors, 2014-09-11

Re: [PATCH V1] ASoC: fsl_ssi: refine ipg clock usage in this module

From: Mark Brown <broonie@kernel.org>
Date: 2014-09-09 15:22:18
Also in: alsa-devel, lkml

On Tue, Sep 09, 2014 at 08:17:51AM -0500, Timur Tabi wrote:
Shengjiu Wang wrote:
quoted
+	if (ssi_private->soc->imx)
+		clk_prepare_enable(ssi_private->clk);
How about this instead?
if (ssi_private->clk)
	clk_prepare_enable(ssi_private->clk);
Should be a !IS_ERR() - NULL is a valid clock.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help