Skip to content

Commit a27ac38

Browse files
konradybcioandersson
authored andcommitted
clk: qcom: gcc-sm8450: Use floor ops for SDCC RCGs
Use the floor ops to prevent warnings like this at suspend exit and boot: mmc0: Card appears overclocked; req 800000 Hz, actual 25000000 Hz Fixes: db0c944 ("clk: qcom: Add clock driver for SM8450") Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Vinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/20230811-topic-8450_clk-v1-1-88031478d548@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 90d5c04 commit a27ac38

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/clk/qcom/gcc-sm8450.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
935935
.parent_data = gcc_parent_data_7,
936936
.num_parents = ARRAY_SIZE(gcc_parent_data_7),
937937
.flags = CLK_SET_RATE_PARENT,
938-
.ops = &clk_rcg2_ops,
938+
.ops = &clk_rcg2_floor_ops,
939939
},
940940
};
941941

@@ -958,7 +958,7 @@ static struct clk_rcg2 gcc_sdcc4_apps_clk_src = {
958958
.parent_data = gcc_parent_data_0,
959959
.num_parents = ARRAY_SIZE(gcc_parent_data_0),
960960
.flags = CLK_SET_RATE_PARENT,
961-
.ops = &clk_rcg2_ops,
961+
.ops = &clk_rcg2_floor_ops,
962962
},
963963
};
964964

0 commit comments

Comments
 (0)