WSL2-Linux-Kernel/drivers/clk
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: 8646d4dcc7 ("clk: imx: Add PLLs driver for imx8mm soc")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2019-04-12 14:21:43 -07:00
..
actions clk: actions: Add clock driver for S500 SoC 2019-02-22 00:01:08 -08:00
at91 clk: at91: fix programmable clock for sama5d2 2019-03-18 12:50:31 -07:00
axis
axs10x
bcm
berlin
davinci
h8300
hisilicon
imgtec
imx clk: imx: Fix PLL_1416X not rounding rates 2019-04-12 14:21:43 -07:00
ingenic clk: ingenic: Remove set but not used variable 'enable' 2019-02-26 09:41:04 -08:00
keystone
loongson1
mediatek clk: mediatek: fix clk-gate flag setting 2019-04-12 09:41:49 -07:00
meson clk: meson: vid-pll-div: remove warning and return 0 on invalid config 2019-03-29 09:41:30 +01:00
microchip
mmp clk: mmp2: separate LCDC peripheral clk form the display clock 2019-02-21 13:52:02 -08:00
mvebu clk: dove: fix refcount leak in dove_clk_init() 2018-12-28 11:45:43 -08:00
mxs
nxp
pistachio
pxa
qcom Merge branches 'clk-ingenic', 'clk-mtk-mux', 'clk-qcom-sdm845-pcie', 'clk-mtk-crit' and 'clk-mtk' into clk-next 2019-03-08 10:29:30 -08:00
renesas clk: renesas: r8a774a1: Fix LAST_DT_CORE_CLK 2019-02-25 09:13:19 -08:00
rockchip clk: rockchip: add CLK_SET_RATE_PARENT for rk3066 lcdc dclks 2019-01-07 09:17:15 +01:00
samsung Merge branches 'clk-typo', 'clk-json-schema', 'clk-mtk-2712-eco' and 'clk-rockchip' into clk-next 2019-03-08 10:34:22 -08:00
sirf
socfpga Merge branches 'clk-of-refcount', 'clk-mmio-fixed-clock', 'clk-remove-clps', 'clk-socfpga-parent' and 'clk-struct-size' into clk-next 2019-03-08 10:26:59 -08:00
spear
sprd
st
sunxi
sunxi-ng Merge branches 'clk-optional', 'clk-devm-clkdev-register', 'clk-allwinner', 'clk-meson' and 'clk-renesas' into clk-next 2019-03-08 10:27:21 -08:00
tegra We have a fairly balanced mix of clk driver updates and clk framework 2019-03-14 08:46:17 -07:00
ti We have a fairly balanced mix of clk driver updates and clk framework 2019-03-14 08:46:17 -07:00
uniphier clk: uniphier: Fix update register for CPU-gear 2019-02-21 13:50:23 -08:00
ux500 clk: Use of_node_name_eq for node name comparisons 2018-12-14 13:52:41 -08:00
versatile
x86 clk: x86: Add system specific quirk to mark clocks as critical 2019-04-10 15:54:12 -07:00
zte
zynq
zynqmp clk: zynqmp: Fix memory allocation in zynqmp_clk_setup 2019-01-09 10:37:01 -08:00
Kconfig Merge branches 'clk-of-refcount', 'clk-mmio-fixed-clock', 'clk-remove-clps', 'clk-socfpga-parent' and 'clk-struct-size' into clk-next 2019-03-08 10:26:59 -08:00
Makefile Merge branches 'clk-optional', 'clk-devm-clkdev-register', 'clk-allwinner', 'clk-meson' and 'clk-renesas' into clk-next 2019-03-08 10:27:21 -08:00
clk-asm9260.c
clk-aspeed.c
clk-axi-clkgen.c
clk-axm5516.c
clk-bd718x7.c
clk-bulk.c
clk-cdce706.c
clk-cdce925.c
clk-clps711x.c clk: clps711x: Remove board support 2019-01-09 12:50:21 -08:00
clk-composite.c
clk-conf.c
clk-cs2000-cp.c
clk-devres.c clk: Add (devm_)clk_get_optional() functions 2019-02-06 10:33:10 -08:00
clk-divider.c
clk-efm32gg.c
clk-fixed-factor.c
clk-fixed-mmio.c clk: Add Fixed MMIO clock driver 2019-01-09 11:41:19 -08:00
clk-fixed-rate.c
clk-fractional-divider.c clk: fractional-divider: check parent rate only if flag is set 2019-02-22 00:11:47 -08:00
clk-gate.c
clk-gemini.c
clk-gpio.c clk: clk-gpio: add support for sleeping GPIOs in gpio-gate-clk 2019-02-21 14:05:25 -08:00
clk-hi655x.c
clk-highbank.c clk: highbank: fix refcount leak in hb_clk_init() 2018-12-28 11:20:48 -08:00
clk-hsdk-pll.c
clk-max9485.c
clk-max77686.c clk: clk-max77686: Clean clkdev lookup leak and use devm 2019-02-06 10:35:03 -08:00
clk-moxart.c
clk-multiplier.c
clk-mux.c
clk-nomadik.c
clk-npcm7xx.c
clk-nspire.c
clk-oxnas.c
clk-palmas.c
clk-pwm.c
clk-qoriq.c Merge branches 'clk-qcom-msm8998', 'clk-fractional-parent', 'clk-x86-mv' and 'clk-SA-fixes' into clk-next 2019-03-08 10:29:15 -08:00
clk-rk808.c
clk-s2mps11.c
clk-scmi.c
clk-scpi.c
clk-si514.c
clk-si544.c
clk-si570.c
clk-si5351.c
clk-si5351.h
clk-stm32f4.c
clk-stm32h7.c
clk-stm32mp1.c clk: stm32mp1: fix bit width of hse_rtc divider 2019-02-21 14:13:22 -08:00
clk-tango4.c
clk-twl6040.c clk: clk-twl6040: Fix imprecise external abort for pdmclk 2019-02-21 14:11:23 -08:00
clk-u300.c
clk-versaclock5.c clk: vc5: Abort clock configuration without upstream clock 2019-01-09 10:53:58 -08:00
clk-vt8500.c
clk-wm831x.c
clk-xgene.c
clk.c clk: fixup default index for of_clk_get_by_name() 2019-03-08 10:35:07 -08:00
clk.h clk: Move of_clk_*() APIs into clk.c from clkdev.c 2019-03-01 11:17:22 -08:00
clkdev.c Merge branch 'clk-parent-rewrite' (early part) into clk-next 2019-03-08 10:35:01 -08:00