From: Ben Dooks Date: Mon, 18 Jan 2010 06:57:42 +0000 (+0900) Subject: ARM: SAMSUNG: Fix bug in clksrc-clk round_rate call. X-Git-Tag: v2.6.34-rc2~66^2~54^2~22^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9e011b6b305d38445bbd4a1e7a8814e056de37b;p=pandora-kernel.git 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 --- Reading git-diff-tree failed