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

Commit d56f6317 authored by Petar Sivenov's avatar Petar Sivenov Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: isp: Reset frame id for new stream



Frame ID should be restarted for RDI streams also on stream on
HAL uses stream ids to match corresponding frames

Change-Id: I20b2a1745e80b522bfe7c37f0e2d34dfab52445c
Signed-off-by: default avatarPetar Sivenov <psiven@codeaurora.org>
parent 360013b1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1194,6 +1194,8 @@ static int msm_isp_start_axi_stream(struct vfe_device *vfe_dev,
			msm_isp_axi_stream_enable_cfg(vfe_dev, stream_info);
			stream_info->state = ACTIVE;
		}
		vfe_dev->axi_data.src_info[
			SRC_TO_INTF(stream_info->stream_src)].frame_id = 0;
	}
	msm_isp_update_stream_bandwidth(vfe_dev);
	vfe_dev->hw_info->vfe_ops.axi_ops.reload_wm(vfe_dev, wm_reload_mask);