i.MX7ULP: Fix SPLL/APLL clock rate calculation issue
authorYe Li <ye.li@nxp.com>
Mon, 22 Jul 2019 01:25:00 +0000 (01:25 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:35:16 +0000 (16:35 +0200)
commiteb6d2e5920fa518fc924025e1e7987cd0dde73ad
tree20b614523935163c824ce265ecc7396365d2eb48
parent3399a2e1d25be46725ebfd4b5aba66232467c32d
i.MX7ULP: Fix SPLL/APLL clock rate calculation issue

The num/denom is a float value, but in the calculation it is convert
to integer 0, and cause the result wrong.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/mx7ulp/scg.c