From b5c04df4e7b32286c006943d8ca9ed2bfaccf950 Mon Sep 17 00:00:00 2001 From: samin Date: Sat, 14 May 2022 19:07:24 +0800 Subject: [PATCH] clktree: jh7110: disable jh7110_clk_disable function interface. /*do not upstram*/ The system will hang when clk_disable. need to debug. Signed-off-by: samin --- drivers/clk/starfive/clk-starfive-jh7110-gen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/starfive/clk-starfive-jh7110-gen.c b/drivers/clk/starfive/clk-starfive-jh7110-gen.c index 437065bd7684..7f6ba3a77d85 100755 --- a/drivers/clk/starfive/clk-starfive-jh7110-gen.c +++ b/drivers/clk/starfive/clk-starfive-jh7110-gen.c @@ -78,9 +78,9 @@ static int jh7110_clk_enable(struct clk_hw *hw) static void jh7110_clk_disable(struct clk_hw *hw) { - struct jh7110_clk *clk = jh7110_clk_from(hw); + //struct jh7110_clk *clk = jh7110_clk_from(hw); - jh7110_clk_reg_rmw(clk, JH7110_CLK_ENABLE, 0); + //jh7110_clk_reg_rmw(clk, JH7110_CLK_ENABLE, 0); } static int jh7110_clk_is_enabled(struct clk_hw *hw) -- 2.34.1