clktree: jh7110: disable jh7110_clk_disable function interface.
authorsamin <samin.guo@starfivetech.com>
Sat, 14 May 2022 11:07:24 +0000 (19:07 +0800)
committersamin <samin.guo@starfivetech.com>
Sun, 15 May 2022 10:57:04 +0000 (18:57 +0800)
/*do not upstram*/
The system will hang when clk_disable.
need to debug.

Signed-off-by: samin <samin.guo@starfivetech.com>
drivers/clk/starfive/clk-starfive-jh7110-gen.c

index 437065bd768448d83dd0dc102470efa6a8a0aa30..7f6ba3a77d85108715e3bc9f9ee17349d8e26387 100755 (executable)
@@ -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)