ARM: SAMSUNG: Fix bug in clksrc-clk round_rate call.
authorBen Dooks <ben-linux@fluff.org>
Mon, 18 Jan 2010 06:57:42 +0000 (15:57 +0900)
committerBen Dooks <ben-linux@fluff.org>
Mon, 18 Jan 2010 07:00:56 +0000 (16:00 +0900)
The call has been assuming all clksrc-clks' divider size is 4 bits, but
this may not be the case anymore. Use the reg_div.size parameter to
calculate the maximum value it can take and check against that.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>

No differences found