Skip to content

Commit

Permalink
Merge tag 'davinci-for-v3.14/soc' of git://git.kernel.org/pub/scm/lin…
Browse files Browse the repository at this point in the history
…ux/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()
  • Loading branch information
Kevin Hilman committed Jan 16, 2014
2 parents 4748247 + 4408c26 commit 6373bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-davinci/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6373bb7

Please sign in to comment.