소스 검색

Merge "msm: camera: isp: Change epoch line computation" into camera-kernel.lnx.5.0

Savita Patted 4 년 전
부모
커밋
a76411e25d
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_ver4.c

+ 1 - 4
drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_ver4.c

@@ -1814,13 +1814,10 @@ static int cam_vfe_resource_start(
 			rsrc_data->common_reg->core_cfg_1));
 
 	val = ((rsrc_data->last_line + rsrc_data->vbi_value) -
-						rsrc_data->first_line) / 4;
+						rsrc_data->first_line) / 2;
 	if (val > rsrc_data->last_line)
 		val = rsrc_data->last_line;
 
-	/* Epoch line cfg will still be configured at midpoint of the frame width.
-	 * We use '/4' instead of '/2' because it is multipixel path.
-	 */
 	if (rsrc_data->horizontal_bin || rsrc_data->qcfa_bin ||
 		rsrc_data->sfe_binned_epoch_cfg)
 		val >>= 1;