Selaa lähdekoodia

msm: camera: isp: Remove capture control register configurations

During configuring paths in CSID, RX capture control is also getting
configured. This is done as a part of Rx configurations.
This removes the capture control from start path functions.

CRs-Fixed: 2933774
Change-Id: Idebb4e03634d91583fdab58b9e5d0313530a7f1d
Signed-off-by: Gaurav Jindal <[email protected]>
Gaurav Jindal 4 vuotta sitten
vanhempi
sitoutus
89ab268804

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

@@ -2292,10 +2292,6 @@ static int cam_ife_csid_ver2_init_config_rdi_path(
 			path_reg->format_measure_cfg0_addr);
 	}
 
-	cam_io_w_mb(val, mem_base +
-		csid_reg->csi2_reg->capture_ctrl_addr);
-	CAM_DBG(CAM_ISP, "rx capture control value 0x%x", val);
-
 	return rc;
 }
 
@@ -2469,10 +2465,6 @@ static int cam_ife_csid_ver2_init_config_pxl_path(
 			mem_base + path_reg->format_measure_cfg0_addr);
 	}
 
-	cam_io_w_mb(val, mem_base +
-		csid_reg->csi2_reg->capture_ctrl_addr);
-	CAM_DBG(CAM_ISP, "rx capture control value 0x%x", val);
-
 	res->res_state = CAM_ISP_RESOURCE_STATE_INIT_HW;
 
 	return rc;