summaryrefslogtreecommitdiff
path: root/drivers/clk/qcom/gcc-sm8150.c
diff options
context:
space:
mode:
authorTaniya Das <tdas@codeaurora.org>2019-09-09 13:14:10 +0530
committerStephen Boyd <sboyd@kernel.org>2019-09-09 04:39:12 -0700
commit3f905469c8ce7c13ab500b17f5085b53d6cc3f40 (patch)
treef0b4325ece2971958d7ec1a525e15dc65a256d06 /drivers/clk/qcom/gcc-sm8150.c
parent593020811cb0903141649fb6c7c53c442baae90a (diff)
clk: qcom: gcc: Use floor ops for SDCC clocks
Update global clock controller SDCC2/4 clocks to use the floor rcg ops, so as to use the rounded down clock rates for these clocks. Signed-off-by: Taniya Das <tdas@codeaurora.org> Link: https://lkml.kernel.org/r/20190909074410.18977-1-tdas@codeaurora.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/qcom/gcc-sm8150.c')
-rw-r--r--drivers/clk/qcom/gcc-sm8150.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/qcom/gcc-sm8150.c b/drivers/clk/qcom/gcc-sm8150.c
index 12ca2d14797f..20877214acff 100644
--- a/drivers/clk/qcom/gcc-sm8150.c
+++ b/drivers/clk/qcom/gcc-sm8150.c
@@ -803,7 +803,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
.parent_data = gcc_parents_6,
.num_parents = 5,
.flags = CLK_SET_RATE_PARENT,
- .ops = &clk_rcg2_ops,
+ .ops = &clk_rcg2_floor_ops,
},
};
@@ -828,7 +828,7 @@ static struct clk_rcg2 gcc_sdcc4_apps_clk_src = {
.parent_data = gcc_parents_3,
.num_parents = 3,
.flags = CLK_SET_RATE_PARENT,
- .ops = &clk_rcg2_ops,
+ .ops = &clk_rcg2_floor_ops,
},
};