OSDN Git Service

clk: meson: axg: let mpll clocks round closest
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 15 May 2018 16:36:52 +0000 (18:36 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 21 May 2018 09:31:59 +0000 (11:31 +0200)
commitde1ca2d07bdc3fb4a21991ca78b026324636f541
treec095fbe88457380c235dda47f3d416317f12335b
parentbae1106c37c60661a94739b3f0a52138e227d604
clk: meson: axg: let mpll clocks round closest

Let the mpll dividers achieve the closest rate possible, even if
it means rounding the requested rate up.

This is done to improve the accuracy of the rates provided by these
plls to the audio subsystem

Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/axg.c