From: Paul Walmsley Date: Fri, 25 Jul 2014 12:11:15 +0000 (-0600) Subject: ARM: OMAP2+: clock: allow omap2_dpll_round_rate() to round to next-lowest rate X-Git-Tag: omap-for-v3.17/soc-fixes~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a26344440b5f9940c99112fdc3804f073b1f5a7;p=pandora-kernel.git ARM: OMAP2+: clock: allow omap2_dpll_round_rate() to round to next-lowest rate Change the behavior of omap2_dpll_round_rate() to round to either the exact rate requested, or the next lowest rate that the clock is able to provide. This is not an ideal fix, but is intended to provide a relatively safe way for drivers to set PLL rates, until a better solution can be implemented. For the time being, omap3_noncore_dpll_set_rate() is still allowed to set its rate to something other than what the caller requested; but will warn when this occurs. Cc: Tomi Valkeinen Cc: Mike Turquette Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed