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

Commit 19ac3511 authored by Nagesh Subba Reddy's avatar Nagesh Subba Reddy Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: Correct the condition for buffer drop



We should be tracking current frame pattern rather than previous.

Change-Id: I08e7f5b355d13fe235a61dcd8242c77edf2cd305
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>
parent 46d4e4a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2857,7 +2857,7 @@ static int msm_isp_request_frame(struct vfe_device *vfe_dev,
	}
	if ((frame_src == VFE_PIX_0) && !stream_info->undelivered_request_cnt &&
		MSM_VFE_STREAM_STOP_PERIOD !=
		stream_info->prev_framedrop_period) {
		stream_info->current_framedrop_period) {
		pr_debug("%s:%d vfe %d frame_id %d prev_pattern %x stream_id %x\n",
			__func__, __LINE__, vfe_dev->pdev->id, frame_id,
			stream_info->prev_framedrop_period,