diff options
author | Martin Botka <martin.botka@somainline.org> | 2021-11-30 22:20:15 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2021-12-06 23:40:38 +0100 |
commit | e53f2086856c16ccab80fd0ac012baa1ae88af73 (patch) | |
tree | d6f2157ccc0ca61cbf830e082a78bcb9b7fe8c2f /drivers/clk/qcom/gcc-sm6125.c | |
parent | clk: imx: use module_platform_driver (diff) | |
download | linux-e53f2086856c16ccab80fd0ac012baa1ae88af73.tar.xz linux-e53f2086856c16ccab80fd0ac012baa1ae88af73.zip |
clk: qcom: sm6125-gcc: Swap ops of ice and apps on sdcc1
Without this change eMMC runs at overclocked freq.
Swap the ops to not OC the eMMC.
Signed-off-by: Martin Botka <martin.botka@somainline.org>
Link: https://lore.kernel.org/r/20211130212015.25232-1-martin.botka@somainline.org
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Fixes: 4b8d6ae57cdf ("clk: qcom: Add SM6125 (TRINKET) GCC driver")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/qcom/gcc-sm6125.c')
-rw-r--r-- | drivers/clk/qcom/gcc-sm6125.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/qcom/gcc-sm6125.c b/drivers/clk/qcom/gcc-sm6125.c index 543cfab7561f..431b55bb0d2f 100644 --- a/drivers/clk/qcom/gcc-sm6125.c +++ b/drivers/clk/qcom/gcc-sm6125.c @@ -1121,7 +1121,7 @@ static struct clk_rcg2 gcc_sdcc1_apps_clk_src = { .name = "gcc_sdcc1_apps_clk_src", .parent_data = gcc_parent_data_1, .num_parents = ARRAY_SIZE(gcc_parent_data_1), - .ops = &clk_rcg2_ops, + .ops = &clk_rcg2_floor_ops, }, }; @@ -1143,7 +1143,7 @@ static struct clk_rcg2 gcc_sdcc1_ice_core_clk_src = { .name = "gcc_sdcc1_ice_core_clk_src", .parent_data = gcc_parent_data_0, .num_parents = ARRAY_SIZE(gcc_parent_data_0), - .ops = &clk_rcg2_floor_ops, + .ops = &clk_rcg2_ops, }, }; |