This change removes duplicate add to port counters during IFE acquire. CRs-Fixed: 2546941 Change-Id: Ie42838a2e66200a5a52cc27600bd25e430c0e3f0 Signed-off-by: Venkat Chinta <[email protected]>
@@ -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: