From: Paul Walmsley Date: Thu, 2 Aug 2007 18:10:05 +0000 (-0600) Subject: omap2 clock: fix clksel divisor bug X-Git-Tag: v2.6.23-omap1~264 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb589a09a6feab16bdada3fb6c25a571c04b9362;p=pandora-kernel.git omap2 clock: fix clksel divisor bug For clksel clocks, omap2_clk_set_rate() incorrectly divides the parent clock's rate by the actual bits of the register field, rather than the translated divisor value. This happens to work for most clksel clocks, since the register bit fields are equal to the divisor values. But for some clocks, such as sys_clkout, the code gets the resulting rate wrong. Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed