mirror of https://github.com/torvalds/linux.git
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: 40ef9b6b77 ("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>
This commit is contained in:
parent
463f2eaa20
commit
b0779ea486
|
|
@ -1701,7 +1701,6 @@ static struct qcom_icc_node * const clk_virt_nodes[] = {
|
|||
};
|
||||
|
||||
static const struct qcom_icc_desc sm8650_clk_virt = {
|
||||
.config = &icc_regmap_config,
|
||||
.nodes = clk_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(clk_virt_nodes),
|
||||
.bcms = clk_virt_bcms,
|
||||
|
|
@ -1881,7 +1880,6 @@ static struct qcom_icc_node * const mc_virt_nodes[] = {
|
|||
};
|
||||
|
||||
static const struct qcom_icc_desc sm8650_mc_virt = {
|
||||
.config = &icc_regmap_config,
|
||||
.nodes = mc_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mc_virt_nodes),
|
||||
.bcms = mc_virt_bcms,
|
||||
|
|
|
|||
Loading…
Reference in New Issue