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 <quic_gjindal@quicinc.com>
This commit is contained in:
Gaurav Jindal
2022-05-09 07:31:04 +05:30
committed by Camera Software Integration
parent 73ee3cd098
commit 19fab831ca

View File

@@ -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,