From: Paul Walmsley Date: Wed, 12 Nov 2008 18:51:01 +0000 (-0700) Subject: OMAP3 clock: optimize DPLL rate rounding algorithm X-Git-Tag: v2.6.28-davinci1-diff-base~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f6d82bb2f80fa20a841ac3e95a6f44a5a156188;p=pandora-kernel.git OMAP3 clock: optimize DPLL rate rounding algorithm The previous DPLL rate rounding algorithm counted the divider (N) down from the maximum to 1. Since we currently use a broad DPLL rate tolerance, and lower N values are more power-efficient, we can often bypass several iterations through the loop by counting N upwards from 1. Peter de Schrijver put up with several test cycles of this patch - thanks Peter. Signed-off-by: Paul Walmsley Cc: Peter de Schrijver Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed