|
@@ -40,8 +40,9 @@ static int __set_clk_parents(struct device_node *node, bool clk_supplier)
|
|
return 0;
|
|
return 0;
|
|
pclk = of_clk_get_from_provider(&clkspec);
|
|
pclk = of_clk_get_from_provider(&clkspec);
|
|
if (IS_ERR(pclk)) {
|
|
if (IS_ERR(pclk)) {
|
|
- pr_warn("clk: couldn't get parent clock %d for %s\n",
|
|
|
|
- index, node->full_name);
|
|
|
|
|
|
+ if (PTR_ERR(pclk) != -EPROBE_DEFER)
|
|
|
|
+ pr_warn("clk: couldn't get parent clock %d for %s\n",
|
|
|
|
+ index, node->full_name);
|
|
return PTR_ERR(pclk);
|
|
return PTR_ERR(pclk);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -55,8 +56,9 @@ static int __set_clk_parents(struct device_node *node, bool clk_supplier)
|
|
}
|
|
}
|
|
clk = of_clk_get_from_provider(&clkspec);
|
|
clk = of_clk_get_from_provider(&clkspec);
|
|
if (IS_ERR(clk)) {
|
|
if (IS_ERR(clk)) {
|
|
- pr_warn("clk: couldn't get assigned clock %d for %s\n",
|
|
|
|
- index, node->full_name);
|
|
|
|
|
|
+ if (PTR_ERR(clk) != -EPROBE_DEFER)
|
|
|
|
+ pr_warn("clk: couldn't get assigned clock %d for %s\n",
|
|
|
|
+ index, node->full_name);
|
|
rc = PTR_ERR(clk);
|
|
rc = PTR_ERR(clk);
|
|
goto err;
|
|
goto err;
|
|
}
|
|
}
|
|
@@ -99,8 +101,9 @@ static int __set_clk_rates(struct device_node *node, bool clk_supplier)
|
|
|
|
|
|
clk = of_clk_get_from_provider(&clkspec);
|
|
clk = of_clk_get_from_provider(&clkspec);
|
|
if (IS_ERR(clk)) {
|
|
if (IS_ERR(clk)) {
|
|
- pr_warn("clk: couldn't get clock %d for %s\n",
|
|
|
|
- index, node->full_name);
|
|
|
|
|
|
+ if (PTR_ERR(clk) != -EPROBE_DEFER)
|
|
|
|
+ pr_warn("clk: couldn't get clock %d for %s\n",
|
|
|
|
+ index, node->full_name);
|
|
return PTR_ERR(clk);
|
|
return PTR_ERR(clk);
|
|
}
|
|
}
|
|
|
|
|