Browse Source

msm: camera: isp: Fix the assignment of bubble_detected

Fix the assignment of bubble_detected.

CRs-Fixed: 2948932
Change-Id: Ie9a289f732d12a0238e643e81c8a5bbdcaca059a
Signed-off-by: Depeng Shao <[email protected]>
Depeng Shao 4 years ago
parent
commit
2e7c5fcf1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/cam_isp/cam_isp_context.c

+ 1 - 1
drivers/cam_isp/cam_isp_context.c

@@ -959,7 +959,6 @@ static int __cam_isp_ctx_handle_buf_done_for_req_list(
 		req_isp->cdm_reset_before_apply = false;
 		req_isp->num_acked = 0;
 		req_isp->num_deferred_acks = 0;
-		req_isp->bubble_detected = false;
 		/*
 		 * Only update the process_bubble and bubble_frame_cnt
 		 * when bubble is detected on this req, in case the other
@@ -968,6 +967,7 @@ static int __cam_isp_ctx_handle_buf_done_for_req_list(
 		if (req_isp->bubble_detected) {
 			atomic_set(&ctx_isp->process_bubble, 0);
 			ctx_isp->bubble_frame_cnt = 0;
+			req_isp->bubble_detected = false;
 		}
 
 		CAM_DBG(CAM_REQ,