lkml.org 
[lkml]   [2015]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 07/14] ASoC: qcom: add no osr clk flag to lpass variant
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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-05-04 15:41    [W:1.093 / U:0.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site