projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0cafc4
)
clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks
author
Mantas Pucka
<mantas@8devices.com>
Tue, 25 Apr 2023 09:11:49 +0000
(12:11 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 19 Jul 2023 14:21:49 +0000
(16:21 +0200)
[ Upstream commit
56e5ae0116aef87273cf1812d608645b076e4f02
]
SDCC clocks must be rounded down to avoid overclocking the controller.
Fixes:
d9db07f088af
("clk: qcom: Add ipq6018 Global Clock Controller support")
Signed-off-by: Mantas Pucka <mantas@8devices.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link:
https://lore.kernel.org/r/1682413909-24927-1-git-send-email-mantas@8devices.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/qcom/gcc-ipq6018.c
patch
|
blob
|
history
diff --git
a/drivers/clk/qcom/gcc-ipq6018.c
b/drivers/clk/qcom/gcc-ipq6018.c
index
3f9c2f6
..
5c5d1b0
100644
(file)
--- a/
drivers/clk/qcom/gcc-ipq6018.c
+++ b/
drivers/clk/qcom/gcc-ipq6018.c
@@
-1654,7
+1654,7
@@
static struct clk_rcg2 sdcc1_apps_clk_src = {
.name = "sdcc1_apps_clk_src",
.parent_data = gcc_xo_gpll0_gpll2_gpll0_out_main_div2,
.num_parents = 4,
- .ops = &clk_rcg2_ops,
+ .ops = &clk_rcg2_
floor_
ops,
},
};