Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5dc6c6c authored by Venkat Chinta's avatar Venkat Chinta Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: ife: Do not enable CAMIF by default



This change removes enabling CAMIF and CAMIF Lite module config
programming by default. Henceforth these settings must be
programmed by the userspace by adding them in command buffers.

CRs-Fixed: 2513939
Change-Id: I739a57a392974056f358820f77bc2ae40451d9d6
Signed-off-by: default avatarVenkat Chinta <vchinta@codeaurora.org>
parent 3d8cdd5b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -294,10 +294,6 @@ static int cam_vfe_camif_lite_resource_start(
		rsrc_data->camif_lite_reg->lite_epoch_irq);

skip_core_cfg:
	/* Enable Camif */
	cam_io_w_mb(0x1,
		rsrc_data->mem_base +
		rsrc_data->camif_lite_reg->lite_module_config);

	camif_lite_res->res_state = CAM_ISP_RESOURCE_STATE_STREAMING;

+0 −9
Original line number Diff line number Diff line
@@ -377,15 +377,6 @@ static int cam_vfe_camif_ver3_resource_start(
	cam_io_w_mb(rsrc_data->reg_data->top_debug_cfg_en, rsrc_data->mem_base +
		rsrc_data->common_reg->top_debug_cfg);

	/*config vfe core*/
	val = (rsrc_data->pix_pattern <<
		rsrc_data->reg_data->pixel_pattern_shift);
	val |= (1 << rsrc_data->reg_data->pp_camif_cfg_en_shift);
	val |= (1 << rsrc_data->reg_data->pp_camif_cfg_ife_out_en_shift);
	cam_io_w_mb(val,
		rsrc_data->mem_base + rsrc_data->camif_reg->module_cfg);
	CAM_DBG(CAM_ISP, "write module_cfg val = 0x%X", val);

	val = cam_io_r_mb(rsrc_data->mem_base +
		rsrc_data->common_reg->core_cfg_0);