[PATCH 2/2] ARM: OMAP2+: fix dpll round_rate() to actually round

Felipe Balbi balbi at ti.com
Thu Apr 24 11:29:14 PDT 2014


On Fri, Jan 17, 2014 at 09:44:59AM +0200, Tomi Valkeinen wrote:
> omap2_dpll_round_rate() doesn't actually round the given rate, even if
> the name and the description so hints. Instead it only tries to find an
> exact rate match, or if that fails, return ~0 as an error.
> What this basically means is that the user of the clock needs to know
> what rates the dpll can support, which obviously isn't right.
> This patch adds a simple method of rounding: during the iteration, the
> code keeps track of the closest rate match. If no exact match is found,
> the closest is returned.
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen at ti.com>

Tony, looks like this patch was lost. Are you taking it during the -rc ?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140424/e7bee3f4/attachment.sig>

More information about the linux-arm-kernel mailing list