From ec8b26eda2bbf98a99da0c8d03a06f1d4b256fd5 Mon Sep 17 00:00:00 2001 From: Venkat Chinta Date: Tue, 15 Oct 2019 17:24:18 -0700 Subject: [PATCH] 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 --- drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c b/drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c index 3c82c6b2f8e5..05b41a7d8def 100644 --- a/drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c +++ b/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: