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 <vchinta@codeaurora.org>
This commit is contained in:
Venkat Chinta 2019-10-15 17:24:18 -07:00 • committed by Gerrit - the friendly Code Review server
commit ec8b26eda2

View file

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