Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clk: rockchip: Drop empty init callback for rk3588 PLL type

Unlike PLLs in previous geneation of SoCs, PLLs in RK3588 type don't
require any platform-specific initialization. Drop callback
rockchip_rk3588_pll_init() that does nothing in fact to clean the
driver up.

Signed-off-by: Yao Zi <ziyao@disroot.org>
Link: https://lore.kernel.org/r/20250326113556.21039-1-ziyao@disroot.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>

authored by

Yao Zi and committed by
Heiko Stuebner
646bfc52 831a8ac7

-11
-11
drivers/clk/rockchip/clk-pll.c
··· 1027 1027 return !(pllcon & RK3588_PLLCON1_PWRDOWN); 1028 1028 } 1029 1029 1030 - static int rockchip_rk3588_pll_init(struct clk_hw *hw) 1031 - { 1032 - struct rockchip_clk_pll *pll = to_rockchip_clk_pll(hw); 1033 - 1034 - if (!(pll->flags & ROCKCHIP_PLL_SYNC_RATE)) 1035 - return 0; 1036 - 1037 - return 0; 1038 - } 1039 - 1040 1030 static const struct clk_ops rockchip_rk3588_pll_clk_norate_ops = { 1041 1031 .recalc_rate = rockchip_rk3588_pll_recalc_rate, 1042 1032 .enable = rockchip_rk3588_pll_enable, ··· 1041 1051 .enable = rockchip_rk3588_pll_enable, 1042 1052 .disable = rockchip_rk3588_pll_disable, 1043 1053 .is_enabled = rockchip_rk3588_pll_is_enabled, 1044 - .init = rockchip_rk3588_pll_init, 1045 1054 }; 1046 1055 1047 1056 /*