Skip to content

Commit 39a3396

Browse files
pdp7bebarino
authored andcommitted
clk: thead: fix dependency on clk_ignore_unused
Add the CLK_IGNORE_UNUSED flag to the vp-axi clock (CLK_VP_AXI) to avoid depending on clk_ignore_unused in the cmdline. Without this fix, the emmc-sdio clock (CLK_EMMC_SDIO) fails to work after vp-axi is disabled. Signed-off-by: Drew Fustini <drew@pdp7.com> Link: https://lore.kernel.org/r/20240731061439.3807172-1-drew@pdp7.com Fixes: ae81b69 ("clk: thead: Add support for T-Head TH1520 AP_SUBSYS clocks") Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 8400291 commit 39a3396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/thead/clk-th1520-ap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ static struct ccu_div vp_axi_clk = {
738738
.hw.init = CLK_HW_INIT_PARENTS_HW("vp-axi",
739739
video_pll_clk_parent,
740740
&ccu_div_ops,
741-
0),
741+
CLK_IGNORE_UNUSED),
742742
},
743743
};
744744

0 commit comments

Comments
 (0)