commit | f9e011b6b305d38445bbd4a1e7a8814e056de37b | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Mon Jan 18 15:57:42 2010 +0900 |
committer | Ben Dooks <ben-linux@fluff.org> | Mon Jan 18 16:00:56 2010 +0900 |
tree | e468845831a2061edd25f1f41b57b0b111e3d9d3 | |
parent | f3b464cca94c4a8f54fbc11ec5af8b143fd1750b [diff] |
ARM: SAMSUNG: Fix bug in clksrc-clk round_rate call. 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>