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

Commit 29146298 authored by Ramesh V's avatar Ramesh V Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: isp: Reset frameskip range during streamoff



Frameskip range will not get reset if session ends at
max_frameid, in next session same frame will get skip.
to avoid this reset in every streamoff.

Change-Id: Ic363d8d53e96379f9d69f4a0adc079d20a9e87bb
Signed-off-by: default avatarRamesh V <ramev@codeaurora.org>
parent b889d4d9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2909,6 +2909,8 @@ static void __msm_isp_stop_axi_streams(struct vfe_device *vfe_dev,
		 * those state transitions instead of directly forcing stream to
		 * be INACTIVE
		 */
		memset(&stream_info->sw_skip, 0,
			sizeof(struct msm_isp_sw_framskip));
		intf = SRC_TO_INTF(stream_info->stream_src);
		if (stream_info->lpm_mode == 0 &&
			stream_info->state != PAUSED) {