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

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

msm: camera: ife: Remove line start addition



This change removes line start addition to epoch line config.
After CSID crop is applied, the first line that CAMIF
receives is already at the required line and therefore number
of lines for epoch should just be half of the frame width.

CRs-Fixed: 2546941
Change-Id: Ib12b1fc96cedf140672af03862aaf4be65ab38d8
Signed-off-by: default avatarVenkat Chinta <vchinta@codeaurora.org>
parent 35bead08
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -425,9 +425,8 @@ static int cam_vfe_camif_ver3_resource_start(
	/* epoch config */
	switch (soc_private->cpas_version) {
	case CAM_CPAS_TITAN_480_V100:
		epoch0_line_cfg = ((rsrc_data->last_line -
			rsrc_data->first_line) / 4) +
			rsrc_data->first_line;
		epoch0_line_cfg = (rsrc_data->last_line -
			rsrc_data->first_line) / 4;
	/* epoch line cfg will still be configured at midpoint of the
	 * frame width. We use '/ 4' instead of '/ 2'
	 * cause it is multipixel path