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

Commit b5cf50d8 authored by Shubhraprakash Das's avatar Shubhraprakash Das
Browse files

msm: camera: isp: Reset undeliver count on stream stop



When stream is stopped the undelivered buffers are flushed but
the count is not set back to 0, fix this.

CRs-Fixed: 1067674
Change-Id: I2e31912667be7bb9d0179b655b8bed425d18a869
Signed-off-by: default avatarShubhraprakash Das <sadas@codeaurora.org>
parent ff9201d6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2733,6 +2733,7 @@ static void __msm_isp_stop_axi_streams(struct msm_vfe_axi_stream **streams,
						&timestamp);
		msm_isp_cfg_stream_scratch(stream_info, VFE_PING_FLAG);
		msm_isp_cfg_stream_scratch(stream_info, VFE_PONG_FLAG);
		stream_info->undelivered_request_cnt = 0;
		for (k = 0; k < stream_info->num_isp; k++) {
			vfe_dev = stream_info->vfe_dev[k];
			if (stream_info->num_planes > 1)