diff options
Diffstat (limited to 'drivers/clk/clkdev.c')
-rw-r--r-- | drivers/clk/clkdev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/clkdev.c b/drivers/clk/clkdev.c index 48f67218247c..a360b2eca5cb 100644 --- a/drivers/clk/clkdev.c +++ b/drivers/clk/clkdev.c | |||
@@ -167,6 +167,8 @@ struct clk *clk_get(struct device *dev, const char *con_id) | |||
167 | clk = of_clk_get_by_name(dev->of_node, con_id); | 167 | clk = of_clk_get_by_name(dev->of_node, con_id); |
168 | if (!IS_ERR(clk)) | 168 | if (!IS_ERR(clk)) |
169 | return clk; | 169 | return clk; |
170 | if (PTR_ERR(clk) == -EPROBE_DEFER) | ||
171 | return clk; | ||
170 | } | 172 | } |
171 | 173 | ||
172 | return clk_get_sys(dev_id, con_id); | 174 | return clk_get_sys(dev_id, con_id); |