]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
interconnect: qcom: sm8350: Use the correct ids
authorGeorgi Djakov <georgi.djakov@linaro.org>
Fri, 2 Apr 2021 10:09:07 +0000 (13:09 +0300)
committerGeorgi Djakov <georgi.djakov@linaro.org>
Fri, 2 Apr 2021 10:09:07 +0000 (13:09 +0300)
commit7a3aad40c68a9968ff4e8067098422208f04d8ed
treeac03b543fa795b4e6d7632bb065664a0cd0d17df
parentd26a56674497dd12a0ac378203cf058b7a984124
interconnect: qcom: sm8350: Use the correct ids

For creating an array with the members for each NoC, we should be using
a local indexes, as otherwise unnecessary large arrays would be created.
Using an incorrect indexes will also result error for the consumers when
they try to find a valid path between the endpoints. Let's fix this and
use the correct ids.

Reported-by: Alex Elder <elder@linaro.org>
Acked-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20210401094334.28871-1-georgi.djakov@linaro.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
drivers/interconnect/qcom/sm8350.c