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

Commit 9092179a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: isp: Resetting init framedrop if source is active"

parents 0a74fa8d 1877961e
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -493,14 +493,15 @@ void msm_isp_reset_framedrop(struct vfe_device *vfe_dev,
	 * is taken into consideration But if skip frame has already
	 * passed, burst count has to be updated accordingly
	 */
	if (vfe_dev->axi_data.src_info[VFE_PIX_0].frame_id == 0)
	if (vfe_dev->axi_data.src_info[VFE_PIX_0].frame_id == 0) {
		stream_info->runtime_burst_frame_count =
			stream_info->burst_frame_count;
	else
	} else {
		stream_info->runtime_burst_frame_count =
			stream_info->burst_frame_count -
			stream_info->runtime_init_frame_drop;

		stream_info->runtime_init_frame_drop = 0;
	}
	stream_info->runtime_num_burst_capture =
		stream_info->num_burst_capture;
	stream_info->runtime_framedrop_update = stream_info->framedrop_update;