Searched hist:f89b9e1be7da8bb0aac667a0206a00975cefe6d3 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/clk/imx/ |
H A D | clk-pll14xx.c | diff f89b9e1be7da8bb0aac667a0206a00975cefe6d3 Fri Apr 12 09:10:03 CDT 2019 Leonard Crestez <leonard.crestez@nxp.com> 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>
|