clk: meson: remove unnecessary rounding in the pll clock
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 19 Jan 2018 15:55:23 +0000 (16:55 +0100)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Feb 2018 08:49:23 +0000 (09:49 +0100)
commit94aa8a41f1bc807db78567e7031d75998c166150
treefb9950ee966d0a46611ab82e8c3769cbb411d8ed
parent4ed98e9572ad24a5286d80d71221372b55fa9df5
clk: meson: remove unnecessary rounding in the pll clock

The pll driver performs the rate calculation in Mhz, which adds an
unnecessary rounding down to the Mhz of the rate. Use 64bits long
integers to perform this calculation safely on meson8b and perform the
calculation in Hz instead

Fixes: 7a29a869434e ("clk: meson: Add support for Meson clock controller")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/clk-pll.c