Эх сурвалжийг харах

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

Savita Patted 4 жил өмнө
parent
commit
af4bcd716a

+ 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,