clk: qcom: clk-rcg2: Add enable & disable callbacks for RCG floor ops

If enable safe config is true and a rate scaling request comes
while RCG is in disabled state, RCG's new configuration update
would be done as part of enabling the RCG. Hence add the enable
and disable callbacks for floor ops to properly configure the RCG
in all cases.

Change-Id: I3621e0dd2cb948cb523cd85659d0de0359ba5829
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
This commit is contained in:
Jagadeesh Kona 2021-02-17 17:21:41 +05:30 committed by Mike Tipton
parent 7f4eff6b2c
commit fb46a76de1

View File

@ -887,6 +887,8 @@ const struct clk_ops clk_rcg2_floor_ops = {
.pre_rate_change = clk_pre_change_regmap,
.post_rate_change = clk_post_change_regmap,
.is_enabled = clk_rcg2_is_enabled,
.enable = clk_rcg2_enable,
.disable = clk_rcg2_disable,
.get_parent = clk_rcg2_get_parent,
.set_parent = clk_rcg2_set_parent,
.recalc_rate = clk_rcg2_recalc_rate,