Skip to content

Commit e53f208

Browse files
Haxk20bebarino
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Bjorn Andersson <[email protected]> Fixes: 4b8d6ae ("clk: qcom: Add SM6125 (TRINKET) GCC driver") Signed-off-by: Stephen Boyd <[email protected]>
1 parent eee377b commit e53f208

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clk/qcom/gcc-sm6125.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ static struct clk_rcg2 gcc_sdcc1_apps_clk_src = {
11211121
.name = "gcc_sdcc1_apps_clk_src",
11221122
.parent_data = gcc_parent_data_1,
11231123
.num_parents = ARRAY_SIZE(gcc_parent_data_1),
1124-
.ops = &clk_rcg2_ops,
1124+
.ops = &clk_rcg2_floor_ops,
11251125
},
11261126
};
11271127

@@ -1143,7 +1143,7 @@ static struct clk_rcg2 gcc_sdcc1_ice_core_clk_src = {
11431143
.name = "gcc_sdcc1_ice_core_clk_src",
11441144
.parent_data = gcc_parent_data_0,
11451145
.num_parents = ARRAY_SIZE(gcc_parent_data_0),
1146-
.ops = &clk_rcg2_floor_ops,
1146+
.ops = &clk_rcg2_ops,
11471147
},
11481148
};
11491149

0 commit comments

Comments
 (0)