]> git.baikalelectronics.ru Git - kernel.git/commit
clk: meson: honor CLK_MUX_ROUND_CLOSEST in clk_regmap
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 9 Apr 2018 13:59:21 +0000 (15:59 +0200)
committerStephen Boyd <sboyd@kernel.org>
Mon, 16 Apr 2018 16:25:09 +0000 (09:25 -0700)
commitfbe8f588a91a067c191c8fa9ec952ef73e2b250e
tree933d82672108eaaf4e3cbdae6ad46ff1916be6f4
parent8f73d10878a1cfbf2c98052f154f4fb248d1f394
clk: meson: honor CLK_MUX_ROUND_CLOSEST in clk_regmap

Using __clk_mux_determine_rate effectively ignores CLK_MUX_ROUND_CLOSEST
if set the related clk_regmap mux instance.

Use clk_mux_determine_rate_flags() to make sure the flag is honored.

Fixes: e51e683fe3a3 ("clk: meson: add regmap clocks")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/meson/clk-regmap.c