Forráskód Böngészése

msm: camera: isp: Add irq index to RDI resource

While printing the resource name in path irq handler, RDI resource
is pointing to TOP Irq index. This prints the wrong IRQ tag.
This commit fixed the issue by assinging correct IRQ index to RDI
resource.

CRs-Fixed: 3197257
Change-Id: I25db915ff427838ae429a86a698424314c3264f6
Signed-off-by: Gaurav Jindal <[email protected]>
Gaurav Jindal 3 éve
szülő
commit
19fab831ca

+ 1 - 1
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_hw_ver2.c

@@ -3429,7 +3429,7 @@ static int cam_ife_csid_ver2_program_rdi_path(
 	}
 
 	res->res_state = CAM_ISP_RESOURCE_STATE_STREAMING;
-
+	path_cfg->irq_reg_idx =  cam_ife_csid_convert_res_to_irq_reg(res->res_id);
 	if (path_cfg->discard_init_frames) {
 		rc = cam_ife_csid_ver2_subscribe_sof_for_discard(
 			path_cfg, csid_hw, res,