diff options
| author | Shubhraprakash Das <sadas@codeaurora.org> | 2016-09-15 23:26:00 -0700 |
|---|---|---|
| committer | Shubhraprakash Das <sadas@codeaurora.org> | 2016-09-26 16:05:37 -0700 |
| commit | b5cf50d8ea24fe87af94849e032621ebab612ac4 (patch) | |
| tree | 2856e731745a45db693eb3a35bf7d52ec698c2d5 | |
| parent | ff9201d66dd8bc44bfc2808b1bc0a97bdb9754f5 (diff) | |
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: Shubhraprakash Das <sadas@codeaurora.org>
| -rw-r--r-- | drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c b/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c index 537e86cbd879..2ba149a55654 100644 --- a/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c +++ b/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c @@ -2733,6 +2733,7 @@ static void __msm_isp_stop_axi_streams(struct msm_vfe_axi_stream **streams, ×tamp); 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) |
