diff options
author | Konrad Dybcio <konrad.dybcio@linaro.org> | 2023-03-15 20:30:48 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-03-16 01:37:15 +0300 |
commit | 1bf088a9f0e50acd175ba8deef0db11c099fa26e (patch) | |
tree | a684b7bbc5881746890ada880b5cc3584e22e919 /drivers/clk/qcom/gcc-qcm2290.c | |
parent | ed8962b5e24e0a8bd5c2ed6b98fa37aba3a2ac54 (diff) | |
download | linux-1bf088a9f0e50acd175ba8deef0db11c099fa26e.tar.xz |
clk: qcom: gcc-qcm2290: Fix up gcc_sdcc2_apps_clk_src
Add the PARENT_ENABLE flag to prevent the clock from getting stuck
at boot and use floor_ops to avoid SDHCI overclocking.
Fixes: 496d1a13d405 ("clk: qcom: Add Global Clock Controller driver for QCM2290")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230315173048.3497655-1-konrad.dybcio@linaro.org
Diffstat (limited to 'drivers/clk/qcom/gcc-qcm2290.c')
-rw-r--r-- | drivers/clk/qcom/gcc-qcm2290.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/qcom/gcc-qcm2290.c b/drivers/clk/qcom/gcc-qcm2290.c index 7792b8f23704..096deff2ba25 100644 --- a/drivers/clk/qcom/gcc-qcm2290.c +++ b/drivers/clk/qcom/gcc-qcm2290.c @@ -1243,7 +1243,8 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = { .name = "gcc_sdcc2_apps_clk_src", .parent_data = gcc_parents_12, .num_parents = ARRAY_SIZE(gcc_parents_12), - .ops = &clk_rcg2_ops, + .ops = &clk_rcg2_floor_ops, + .flags = CLK_OPS_PARENT_ENABLE, }, }; |