Browse Source

msm: camera: isp: Fix resource assignment during ppp recovery

Currently, the resource node is re-assigned incorrectly in ppp
bottom half code, which results in crash during ppp recovery.
Remove the re-assignment to take care of this issue.

CRs-Fixed: 3091342
Change-Id: I200c49409f9e6ad58dbd00a08bc16d15930de438
Signed-off-by: Mukund Madhusudan Atre <[email protected]>
Mukund Madhusudan Atre 3 years ago
parent
commit
e71be67fe9

+ 0 - 2
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_hw_ver2.c

@@ -1692,8 +1692,6 @@ static int cam_ife_csid_ver2_ppp_bottom_half(
 	csid_reg = (struct cam_ife_csid_ver2_reg_info *)
 			csid_hw->core_info->csid_reg;
 
-	res = &csid_hw->path_res[CAM_IFE_CSID_IRQ_REG_PPP];
-
 	path_reg = csid_reg->path_reg[res->res_id];
 	err_mask = path_reg->fatal_err_mask | path_reg->non_fatal_err_mask;