ti814x: Fix illegal use of FP ops in clock_ti814x.c
authorMåns Rullgård <mans@mansr.com>
Mon, 28 Oct 2013 23:19:53 +0000 (23:19 +0000)
committerTom Rini <trini@ti.com>
Fri, 21 Feb 2014 19:03:44 +0000 (14:03 -0500)
commit11f296870659e1375e7116a859458b254cc3156f
tree3616fbcfaf5f7f2f5addef648f4f03e2ac173237
parent4f80d5ba8e79e4bc96b71295703372718528b3a7
ti814x: Fix illegal use of FP ops in clock_ti814x.c

The function pll_sigma_delta_val uses "float" data which is not correct.
The exact "why" of this mangling is lost to history, but this changes us
to equivalent non-FP math to get the same results.

Reported-by: Wolfgang Denk <wd@denx.de>
Acked-by: Matt Porter <mporter@linaro.org>
arch/arm/cpu/armv7/am33xx/clock_ti814x.c