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

Commit c735d96d authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mm-camera2:isp2: Avoid multiple frame requests"

parents c97482a9 45498845
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2409,14 +2409,14 @@ int msm_isp_drop_frame(struct vfe_device *vfe_dev,
		/*this notify is per ping and pong buffer*/
		done_buf->is_drop_reconfig = 1;
		stream_info->current_framedrop_period = 1;
		/*Avoid Multiple request frames for single SOF*/
		vfe_dev->axi_data.src_info[VFE_PIX_0].accept_frame = false;

		if (stream_info->current_framedrop_period !=
			stream_info->requested_framedrop_period) {
			msm_isp_cfg_framedrop_reg(stream_info);
		}
	}
	/* Avoid Multiple request frames for single SOF */
	vfe_dev->axi_data.src_info[VFE_PIX_0].accept_frame = false;
	spin_unlock_irqrestore(&stream_info->lock, flags);

	/* if buf done will not come, we need to process it ourself */