Browse Source

msm: camera: ife: Remove duplicate add to port counters

This change removes duplicate add to port counters during
IFE acquire.

CRs-Fixed: 2546941
Change-Id: Ie42838a2e66200a5a52cc27600bd25e430c0e3f0
Signed-off-by: Venkat Chinta <[email protected]>
Venkat Chinta 5 years ago
parent
commit
ec8b26eda2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

+ 2 - 2
drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

@@ -2409,8 +2409,8 @@ static int cam_ife_mgr_acquire_hw_for_ctx(
 		goto err;
 	}
 
-	*num_pix_port += ipp_count + ppp_count + ife_rd_count + lcr_count;
-	*num_rdi_port += rdi_count;
+	*num_pix_port = ipp_count + ppp_count + ife_rd_count + lcr_count;
+	*num_rdi_port = rdi_count;
 
 	return 0;
 err: