Skip to content

Commit b0779ea

Browse files
superna9999Georgi Djakov
authored andcommitted
interconnect: qcom: sm8650: remove regmap config for mc_virt & clk_virt
The mc_virt & clk_virt nodes are virtual and doesn't have associated registers, thus the regmap config will fail with: qnoc-sm8650 interconnect-0: error -EINVAL: invalid resource (null) Remove the regmap config since QoS will never be applied to those virtual nodes. Reported-by: Pengyu Luo <[email protected]> Fixes: 40ef9b6 ("interconnect: qcom: sm8650: enable QoS configuration") Signed-off-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/20250519-topic-sm8650-upstream-icc-qos-fix-v1-1-6ace779250aa@linaro.org Signed-off-by: Georgi Djakov <[email protected]>
1 parent 463f2ea commit b0779ea

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/interconnect/qcom/sm8650.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1701,7 +1701,6 @@ static struct qcom_icc_node * const clk_virt_nodes[] = {
17011701
};
17021702

17031703
static const struct qcom_icc_desc sm8650_clk_virt = {
1704-
.config = &icc_regmap_config,
17051704
.nodes = clk_virt_nodes,
17061705
.num_nodes = ARRAY_SIZE(clk_virt_nodes),
17071706
.bcms = clk_virt_bcms,
@@ -1881,7 +1880,6 @@ static struct qcom_icc_node * const mc_virt_nodes[] = {
18811880
};
18821881

18831882
static const struct qcom_icc_desc sm8650_mc_virt = {
1884-
.config = &icc_regmap_config,
18851883
.nodes = mc_virt_nodes,
18861884
.num_nodes = ARRAY_SIZE(mc_virt_nodes),
18871885
.bcms = mc_virt_bcms,

0 commit comments

Comments
 (0)