lkml.org 
[lkml]   [2014]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 14/16] cpufreq: Add cpufreq driver for Tegra124
On Thu, Jul 24, 2014 at 05:43:40AM +0530, Viresh Kumar wrote:
> On 24 July 2014 00:47, Tuomas Tynkkynen <ttynkkynen@nvidia.com> wrote:
> > It's this:
> >
> > +static int tegra124_cpufreq_probe(struct platform_device *pdev)
> > +{
> > [...]
> > +
> > + dfll_clk = of_clk_get_by_name(cpu_dev->of_node, "dfll");
> > + if (IS_ERR(dfll_clk)) {
> > + ret = PTR_ERR(dfll_clk);
> > + goto out_put_cpu_clk;
> > + }
>
> This would search for clocks passed via DT, right? Why would we
> get EPROBE_DEFER for that? Sorry for the stupid question.

of_clk_get_by_name() can return -EPROBE_DEFER, which will happen if the
clock provider hasn't been registered yet.

Thierry
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-07-24 11:41    [W:0.075 / U:4.420 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site