]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
clk: thead: fix dependency on clk_ignore_unused
authorDrew Fustini <drew@pdp7.com>
Wed, 31 Jul 2024 06:14:40 +0000 (23:14 -0700)
committerStephen Boyd <sboyd@kernel.org>
Wed, 31 Jul 2024 21:51:47 +0000 (14:51 -0700)
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: ae81b69fd2b1 ("clk: thead: Add support for T-Head TH1520 AP_SUBSYS clocks")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/thead/clk-th1520-ap.c

index cbc176b27c091e3fa378fb8750771396fcd1a882..17e32ae08720cb96554cd0d2837dd7821b0a56fd 100644 (file)
@@ -738,7 +738,7 @@ static struct ccu_div vp_axi_clk = {
                .hw.init        = CLK_HW_INIT_PARENTS_HW("vp-axi",
                                              video_pll_clk_parent,
                                              &ccu_div_ops,
-                                             0),
+                                             CLK_IGNORE_UNUSED),
        },
 };