Leonard Crestez f89b9e1be7 clk: imx: Fix PLL_1416X not rounding rates
Code which initializes the "clk_init_data.ops" checks pll->rate_table
before that field is ever assigned to so it always picks
"clk_pll1416x_min_ops".

This breaks dynamic rate rounding for features such as cpufreq.

Fix by checking pll_clk->rate_table instead, here pll_clk refers to
the constant initialization data coming from per-soc clk driver.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Fixes: 8646d4dcc7fb ("clk: imx: Add PLLs driver for imx8mm soc")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2019-04-12 14:21:43 -07:00
..
2017-11-01 23:25:49 -07:00
2018-10-17 11:15:20 -07:00
2015-07-20 10:52:49 -07:00
2015-07-20 10:52:49 -07:00
2018-12-03 11:31:32 -08:00
2018-12-03 11:31:28 -08:00
2019-02-26 10:09:31 -08:00