Thread (39 messages) 39 messages, 7 authors, 2014-08-18

[PATCH v2 14/16] cpufreq: Add cpufreq driver for Tegra124

From: Thierry Reding <hidden>
Date: 2014-07-24 09:10:14
Also in: linux-devicetree, linux-pm, linux-tegra, lkml

On Thu, Jul 24, 2014 at 05:43:40AM +0530, Viresh Kumar wrote:
On 24 July 2014 00:47, Tuomas Tynkkynen [off-list ref] wrote:
quoted
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140724/4ff0a233/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