From bd541f74525ad7c8952ef946fe93d13587584a42 Mon Sep 17 00:00:00 2001 From: Mike Tipton Date: Mon, 13 Apr 2020 16:55:18 -0700 Subject: [PATCH] interconnect: qcom: lahaina: Use the correct binding for qnm_pcie Use the correct dt-binding for qnm_pcie in the node lookup array. The specific array index is only important for the xlate() callback. Using the wrong binding means of_icc_get() will fail for any clients attempting to get a phandle to MASTER_ANOC_PCIE_GEM_NOC in devicetree. However, even with the wrong array index the node will still be registered and paths through this node will still function properly. Change-Id: I484461020b39e68c380fa5a26078ed9712c93e4c Signed-off-by: Mike Tipton --- drivers/interconnect/qcom/lahaina.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/interconnect/qcom/lahaina.c b/drivers/interconnect/qcom/lahaina.c index 15ac39dbede1..e9c5cf28d9c5 100644 --- a/drivers/interconnect/qcom/lahaina.c +++ b/drivers/interconnect/qcom/lahaina.c @@ -669,7 +669,7 @@ static struct qcom_icc_node *gem_noc_nodes[] = { [MASTER_GFX3D] = &qnm_gpu, [MASTER_MNOC_HF_MEM_NOC] = &qnm_mnoc_hf, [MASTER_MNOC_SF_MEM_NOC] = &qnm_mnoc_sf, - [MASTER_GEM_NOC_PCIE_SNOC] = &qnm_pcie, + [MASTER_ANOC_PCIE_GEM_NOC] = &qnm_pcie, [MASTER_SNOC_GC_MEM_NOC] = &qnm_snoc_gc, [MASTER_SNOC_SF_MEM_NOC] = &qnm_snoc_sf, [SLAVE_MSS_PROC_MS_MPU_CFG] = &qhs_mdsp_ms_mpu_cfg,