diff options
-rw-r--r-- | arch/arm/mach-davinci/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/clock.c b/arch/arm/mach-davinci/clock.c index dc9a470ff9c5..985e5fd00fb2 100644 --- a/arch/arm/mach-davinci/clock.c +++ b/arch/arm/mach-davinci/clock.c | |||
@@ -133,7 +133,7 @@ EXPORT_SYMBOL(clk_get_rate); | |||
133 | long clk_round_rate(struct clk *clk, unsigned long rate) | 133 | long clk_round_rate(struct clk *clk, unsigned long rate) |
134 | { | 134 | { |
135 | if (clk == NULL || IS_ERR(clk)) | 135 | if (clk == NULL || IS_ERR(clk)) |
136 | return -EINVAL; | 136 | return 0; |
137 | 137 | ||
138 | if (clk->round_rate) | 138 | if (clk->round_rate) |
139 | return clk->round_rate(clk, rate); | 139 | return clk->round_rate(clk, rate); |