summaryrefslogtreecommitdiff
path: root/drivers/clk/at91
diff options
context:
space:
mode:
authorMike Turquette <mturquette@linaro.org>2014-09-17 22:47:56 +0400
committerMike Turquette <mturquette@linaro.org>2014-09-17 22:47:56 +0400
commita52ae5a755d980e9ff812c6f45a415ba27bfd33b (patch)
treea0a95f52e029aca5fb855fff2cb44661a80297ac /drivers/clk/at91
parent0469a43bc32001e63092df87c2d1fdf588ea7b3a (diff)
parent8ce8ebeb572d70e672a8d158e93ffaac80ea7576 (diff)
downloadlinux-a52ae5a755d980e9ff812c6f45a415ba27bfd33b.tar.xz
Merge branch 'clk-fixes' into clk-next
Diffstat (limited to 'drivers/clk/at91')
-rw-r--r--drivers/clk/at91/clk-slow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/clk-slow.c b/drivers/clk/at91/clk-slow.c
index 0300c46ee247..32f7c1b36204 100644
--- a/drivers/clk/at91/clk-slow.c
+++ b/drivers/clk/at91/clk-slow.c
@@ -447,7 +447,7 @@ void __init of_at91sam9260_clk_slow_setup(struct device_node *np,
int i;
num_parents = of_count_phandle_with_args(np, "clocks", "#clock-cells");
- if (num_parents <= 0 || num_parents > 1)
+ if (num_parents != 2)
return;
for (i = 0; i < num_parents; ++i) {