浏览代码

Merge "msm: camera: isp: Fix the assignment of bubble_detected" into camera-kernel.lnx.5.0

Savita Patted 4 年之前
父节点
当前提交
af4bcd716a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,