diff options
-rw-r--r-- | drivers/clk/clk-conf.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/drivers/clk/clk-conf.c b/drivers/clk/clk-conf.c index 674785d968a3..e0e02a6e5900 100644 --- a/drivers/clk/clk-conf.c +++ b/drivers/clk/clk-conf.c | |||
@@ -40,8 +40,9 @@ static int __set_clk_parents(struct device_node *node, bool clk_supplier) | |||
40 | return 0; | 40 | return 0; |
41 | pclk = of_clk_get_from_provider(&clkspec); | 41 | pclk = of_clk_get_from_provider(&clkspec); |
42 | if (IS_ERR(pclk)) { | 42 | if (IS_ERR(pclk)) { |
43 | pr_warn("clk: couldn't get parent clock %d for %s\n", | 43 | if (PTR_ERR(pclk) != -EPROBE_DEFER) |
44 | index, node->full_name); | 44 | pr_warn("clk: couldn't get parent clock %d for %s\n", |
45 | index, node->full_name); | ||
45 | return PTR_ERR(pclk); | 46 | return PTR_ERR(pclk); |
46 | } | 47 | } |
47 | 48 | ||
@@ -55,8 +56,9 @@ static int __set_clk_parents(struct device_node *node, bool clk_supplier) | |||
55 | } | 56 | } |
56 | clk = of_clk_get_from_provider(&clkspec); | 57 | clk = of_clk_get_from_provider(&clkspec); |
57 | if (IS_ERR(clk)) { | 58 | if (IS_ERR(clk)) { |
58 | pr_warn("clk: couldn't get assigned clock %d for %s\n", | 59 | if (PTR_ERR(clk) != -EPROBE_DEFER) |
59 | index, node->full_name); | 60 | pr_warn("clk: couldn't get assigned clock %d for %s\n", |
61 | index, node->full_name); | ||
60 | rc = PTR_ERR(clk); | 62 | rc = PTR_ERR(clk); |
61 | goto err; | 63 | goto err; |
62 | } | 64 | } |
@@ -99,8 +101,9 @@ static int __set_clk_rates(struct device_node *node, bool clk_supplier) | |||
99 | 101 | ||
100 | clk = of_clk_get_from_provider(&clkspec); | 102 | clk = of_clk_get_from_provider(&clkspec); |
101 | if (IS_ERR(clk)) { | 103 | if (IS_ERR(clk)) { |
102 | pr_warn("clk: couldn't get clock %d for %s\n", | 104 | if (PTR_ERR(clk) != -EPROBE_DEFER) |
103 | index, node->full_name); | 105 | pr_warn("clk: couldn't get clock %d for %s\n", |
106 | index, node->full_name); | ||
104 | return PTR_ERR(clk); | 107 | return PTR_ERR(clk); |
105 | } | 108 | } |
106 | 109 | ||