OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
230d4d8
)
clk: qcom: gcc-sm6115: Use floor_ops for SDCC1/2 core clk
author
Konrad Dybcio
<konrad.dybcio@linaro.org>
Fri, 9 Dec 2022 12:39:09 +0000
(13:39 +0100)
committer
Bjorn Andersson
<andersson@kernel.org>
Wed, 28 Dec 2022 03:26:16 +0000
(21:26 -0600)
Just like in case of other SoCs change SDCC1/SDCC2 ops
to floor to avoid overclocking the controller.
Fixes:
cbe63bfdc54f
("clk: qcom: Add Global Clock controller (GCC) driver for SM6115")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Iskren Chernev <me@iskren.info>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link:
https://lore.kernel.org/r/20221209123910.178609-1-konrad.dybcio@linaro.org
drivers/clk/qcom/gcc-sm6115.c
patch
|
blob
|
history
diff --git
a/drivers/clk/qcom/gcc-sm6115.c
b/drivers/clk/qcom/gcc-sm6115.c
index
565f991
..
5b8222f
100644
(file)
--- a/
drivers/clk/qcom/gcc-sm6115.c
+++ b/
drivers/clk/qcom/gcc-sm6115.c
@@
-1258,7
+1258,7
@@
static struct clk_rcg2 gcc_sdcc1_apps_clk_src = {
.name = "gcc_sdcc1_apps_clk_src",
.parent_data = gcc_parents_1,
.num_parents = ARRAY_SIZE(gcc_parents_1),
- .ops = &clk_rcg2_ops,
+ .ops = &clk_rcg2_
floor_
ops,
},
};
@@
-1305,7
+1305,7
@@
static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
.name = "gcc_sdcc2_apps_clk_src",
.parent_data = gcc_parents_11,
.num_parents = ARRAY_SIZE(gcc_parents_11),
- .ops = &clk_rcg2_ops,
+ .ops = &clk_rcg2_
floor_
ops,
.flags = CLK_OPS_PARENT_ENABLE,
},
};