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: dispcc-sm8550: fix several supposed typos

Fix seveal odd-looking places in SM8550's dispcc driver:

- duplicate entries in disp_cc_parent_map_4 and disp_cc_parent_map_5
- using &disp_cc_mdss_dptx0_link_div_clk_src as a source for
disp_cc_mdss_dptx1_usb_router_link_intf_clk

The SM8650 driver has been used as a reference.

Fixes: 90114ca11476 ("clk: qcom: add SM8550 DISPCC driver")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240717-dispcc-sm8550-fixes-v2-1-5c4a3128c40b@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
7b6a4b90 d9b66d83

+2 -2
+2 -2
drivers/clk/qcom/dispcc-sm8550.c
··· 196 196 static const struct parent_map disp_cc_parent_map_4[] = { 197 197 { P_BI_TCXO, 0 }, 198 198 { P_DP0_PHY_PLL_LINK_CLK, 1 }, 199 - { P_DP1_PHY_PLL_VCO_DIV_CLK, 2 }, 199 + { P_DP0_PHY_PLL_VCO_DIV_CLK, 2 }, 200 200 { P_DP3_PHY_PLL_VCO_DIV_CLK, 3 }, 201 201 { P_DP1_PHY_PLL_VCO_DIV_CLK, 4 }, 202 202 { P_DP2_PHY_PLL_VCO_DIV_CLK, 6 }, ··· 213 213 214 214 static const struct parent_map disp_cc_parent_map_5[] = { 215 215 { P_BI_TCXO, 0 }, 216 - { P_DSI0_PHY_PLL_OUT_BYTECLK, 4 }, 216 + { P_DSI0_PHY_PLL_OUT_BYTECLK, 2 }, 217 217 { P_DSI1_PHY_PLL_OUT_BYTECLK, 4 }, 218 218 }; 219 219