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

Commit 4c2c5383 authored by Srikanth Uyyala's avatar Srikanth Uyyala Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: isp: Fix freeze of preview stream during CDS



Remove check of axi_cfg_update to allow stream update.

Change-Id: I4010e27a8dd136eecc2880d5eb13d97e4d0ea46e
Signed-off-by: default avatarSrikanth Uyyala <suyyala@codeaurora.org>
parent 0d8bfae5
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -3722,13 +3722,6 @@ static int msm_isp_stream_axi_cfg_update(struct vfe_device *vfe_dev,
	unsigned long flags;
	int vfe_idx;

	if (atomic_read(&vfe_dev->axi_data.axi_cfg_update[
		SRC_TO_INTF(stream_info->stream_src)])) {
		pr_err("%s: Update in progress for vfe %d intf %d\n",
			__func__, vfe_dev->pdev->id,
			SRC_TO_INTF(stream_info->stream_src));
		return -EINVAL;
	}
	spin_lock_irqsave(&stream_info->lock, flags);
	if (stream_info->state != ACTIVE) {
		spin_unlock_irqrestore(&stream_info->lock, flags);