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

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 <mitltlatltl@gmail.com>
Fixes: 40ef9b6b778f ("interconnect: qcom: sm8650: enable QoS configuration")
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250519-topic-sm8650-upstream-icc-qos-fix-v1-1-6ace779250aa@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>

authored by

Neil Armstrong and committed by
Georgi Djakov
b0779ea4 463f2eaa

-2
-2
drivers/interconnect/qcom/sm8650.c
··· 1701 1701 }; 1702 1702 1703 1703 static const struct qcom_icc_desc sm8650_clk_virt = { 1704 - .config = &icc_regmap_config, 1705 1704 .nodes = clk_virt_nodes, 1706 1705 .num_nodes = ARRAY_SIZE(clk_virt_nodes), 1707 1706 .bcms = clk_virt_bcms, ··· 1880 1881 }; 1881 1882 1882 1883 static const struct qcom_icc_desc sm8650_mc_virt = { 1883 - .config = &icc_regmap_config, 1884 1884 .nodes = mc_virt_nodes, 1885 1885 .num_nodes = ARRAY_SIZE(mc_virt_nodes), 1886 1886 .bcms = mc_virt_bcms,