[alsa-devel] [RFC PATCH 07/14] ASoC: qcom: add no osr clk flag to lpass variant
Mark Brown
broonie at kernel.org
Mon May 4 14:26:19 CEST 2015
On Thu, Apr 30, 2015 at 06:17:24PM +0100, Srinivas Kandagatla wrote:
> + if (!drvdata->variant->no_osr_clk) {
> + ret = clk_prepare_enable(drvdata->mi2s_osr_clk[dai->id]);
Can we do this by checking to see if the clock is set to IS_ERR()
instead? That's what we're doing elsewhere for possibly optional
clocks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150504/f11e1ae6/attachment-0001.sig>
More information about the Alsa-devel
mailing list