Browse Source

msm: camera: cpas: Add missing axi port name info

During apply vote axi port name is coming as null. Add
missing axi port name info in cpas layer also for more
descriptive log during apply.

CRs-Fixed: 2584631
Change-Id: Ibf99b542101a39c415157797e36b5605962873cb
Signed-off-by: Mukund Madhusudan Atre <[email protected]>
Mukund Madhusudan Atre 5 năm trước cách đây
mục cha
commit
3009b33966
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      drivers/cam_cpas/cam_cpas_soc.c

+ 3 - 0
drivers/cam_cpas/cam_cpas_soc.c

@@ -343,6 +343,9 @@ static int cam_cpas_parse_node_tree(struct cam_cpas *cpas_core,
 					}
 				}
 
+				cpas_core->axi_port[mnoc_idx].axi_port_name =
+					cpas_core->axi_port[mnoc_idx]
+						.bus_client.common_data.name;
 				cpas_core->axi_port
 					[mnoc_idx].ib_bw_voting_needed
 					= of_property_read_bool(curr_node,