mirror of https://github.com/OpenIPC/firmware.git
20 lines
611 B
Diff
20 lines
611 B
Diff
diff -drupN a/drivers/clk/clk-gate.c b/drivers/clk/clk-gate.c
|
|
--- a/drivers/clk/clk-gate.c 2017-10-21 18:09:07.000000000 +0300
|
|
+++ b/drivers/clk/clk-gate.c 2022-06-09 05:02:28.000000000 +0300
|
|
@@ -79,6 +79,7 @@ static void clk_gate_endisable(struct cl
|
|
static int clk_gate_enable(struct clk_hw *hw)
|
|
{
|
|
clk_gate_endisable(hw, 1);
|
|
+ __clk_set_flags(hw->clk, 1);
|
|
|
|
return 0;
|
|
}
|
|
@@ -86,6 +87,7 @@ static int clk_gate_enable(struct clk_hw
|
|
static void clk_gate_disable(struct clk_hw *hw)
|
|
{
|
|
clk_gate_endisable(hw, 0);
|
|
+ __clk_set_flags(hw->clk, 0);
|
|
}
|
|
|
|
static int clk_gate_is_enabled(struct clk_hw *hw)
|