Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: db0c944ee92b ("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>

authored by

Konrad Dybcio and committed by
Bjorn Andersson
a27ac380 90d5c043

+2 -2
+2 -2
drivers/clk/qcom/gcc-sm8450.c
··· 935 935 .parent_data = gcc_parent_data_7, 936 936 .num_parents = ARRAY_SIZE(gcc_parent_data_7), 937 937 .flags = CLK_SET_RATE_PARENT, 938 - .ops = &clk_rcg2_ops, 938 + .ops = &clk_rcg2_floor_ops, 939 939 }, 940 940 }; 941 941 ··· 958 958 .parent_data = gcc_parent_data_0, 959 959 .num_parents = ARRAY_SIZE(gcc_parent_data_0), 960 960 .flags = CLK_SET_RATE_PARENT, 961 - .ops = &clk_rcg2_ops, 961 + .ops = &clk_rcg2_floor_ops, 962 962 }, 963 963 }; 964 964