mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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:
parent
ea26407caa
commit
d56d530e20
1 changed files with 2 additions and 0 deletions
|
|
@ -811,6 +811,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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue