diff options
author | Kevin Hilman <khilman@linaro.org> | 2014-01-16 22:46:50 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@linaro.org> | 2014-01-16 22:46:50 +0100 |
commit | 6373bb71875b3f9f73f375952f92e68140b75657 (patch) | |
tree | 6384652058f3f76060ab0e3bd5ae62d0500578e3 /arch/arm | |
parent | Merge tag 'versatile-for-v3.14' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
parent | ARM: davinci: clock: return 0 upon error from clk_round_rate() (diff) | |
download | linux-6373bb71875b3f9f73f375952f92e68140b75657.tar.xz linux-6373bb71875b3f9f73f375952f92e68140b75657.zip |
Merge tag 'davinci-for-v3.14/soc' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/soc
From Sekhar Nori:
A patch to fix the return value of clk_round_rate()
* tag 'davinci-for-v3.14/soc' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
ARM: davinci: clock: return 0 upon error from clk_round_rate()
Diffstat (limited to 'arch/arm')
-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); long clk_round_rate(struct clk *clk, unsigned long rate) { if (clk == NULL || IS_ERR(clk)) - return -EINVAL; + return 0; if (clk->round_rate) return clk->round_rate(clk, rate); |