1
linux/drivers/clk/rockchip
Yao Zi ad1081a0da clk: rockchip: fix finding of maximum clock ID
If an ID of a branch's child is greater than current maximum, we should
set new maximum to the child's ID, instead of its parent's.

Fixes: 2dc66a5ab2 ("clk: rockchip: rk3588: fix CLK_NR_CLKS usage")
Signed-off-by: Yao Zi <ziyao@disroot.org>
Link: https://lore.kernel.org/r/20240912133204.29089-2-ziyao@disroot.org
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2024-10-09 16:06:51 -07:00
..
clk-cpu.c clk: rockchip: Switch to use kmemdup_array() 2024-06-23 22:10:48 +02:00
clk-ddr.c
clk-half-divider.c
clk-inverter.c
clk-mmc-phase.c clk: rockchip: Remove an unused field in struct rockchip_mmc_clock 2024-05-04 12:38:02 +02:00
clk-muxgrf.c
clk-pll.c clk: rockchip: Add new pll type pll_rk3588_ddr 2024-08-29 11:13:28 +02:00
clk-px30.c clk: rockchip: px30: Drop CLK_NR_CLKS CLKPMU_NR_CLKS usage 2024-08-28 21:25:49 +02:00
clk-rk3036.c clk: rockchip: rk3036: Drop CLK_NR_CLKS usage 2024-08-28 21:25:49 +02:00
clk-rk3128.c clk: rockchip: rk3128: Add HCLK_SFC 2024-06-23 22:10:43 +02:00
clk-rk3188.c clk: rockchip: rk3188: Drop CLK_NR_CLKS usage 2024-06-27 21:04:40 +02:00
clk-rk3228.c clk: rockchip: rk3228: Drop CLK_NR_CLKS usage 2024-08-28 21:25:49 +02:00
clk-rk3288.c clk: rockchip: rk3288: Drop CLK_NR_CLKS usage 2024-08-28 21:25:49 +02:00
clk-rk3308.c clk: rockchip: rk3308: Drop CLK_NR_CLKS usage 2024-08-28 21:25:50 +02:00
clk-rk3328.c clk: rockchip: rk3328: Drop CLK_NR_CLKS usage 2024-08-28 21:25:50 +02:00
clk-rk3368.c clk: rockchip: rk3368: Drop CLK_NR_CLKS usage 2024-08-28 21:25:50 +02:00
clk-rk3399.c clk: rockchip: rk3399: Drop CLK_NR_CLKS CLKPMU_NR_CLKS usage 2024-08-28 21:25:50 +02:00
clk-rk3568.c clk: rockchip: rk3568: Add PLL rate for 724 MHz 2024-05-04 12:38:13 +02:00
clk-rk3576.c clk: rockchip: remove unused mclk_pdm0_p/pdm0_p definitions 2024-09-09 14:10:32 -07:00
clk-rk3588.c clk: rockchip: rk3588: drop unused code 2024-08-30 16:59:24 +02:00
clk-rv1108.c
clk-rv1126.c Merge branches 'clk-versa', 'clk-strdup', 'clk-amlogic', 'clk-allwinner' and 'clk-rockchip' into clk-next 2023-08-30 14:38:19 -07:00
clk.c clk: rockchip: fix finding of maximum clock ID 2024-10-09 16:06:51 -07:00
clk.h clk: rockchip: Add clock controller for the RK3576 2024-08-29 11:13:33 +02:00
Kconfig clk: rockchip: Add clock controller for the RK3576 2024-08-29 11:13:33 +02:00
Makefile clk: rockchip: Add clock controller for the RK3576 2024-08-29 11:13:33 +02:00
rst-rk3576.c clk: rockchip: Add clock controller for the RK3576 2024-08-29 11:13:33 +02:00
rst-rk3588.c clk: rockchip: rk3588: Add reset line for HDMI Receiver 2024-04-10 07:10:40 +02:00
softrst.c