From 6c3073f63a272705628a0cbc349e6098e1ec2d9d Mon Sep 17 00:00:00 2001 From: Depeng Shao Date: Tue, 15 Jun 2021 10:48:38 +0800 Subject: [PATCH] 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 --- drivers/cam_isp/cam_isp_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cam_isp/cam_isp_context.c b/drivers/cam_isp/cam_isp_context.c index 00af70d8a093..ea569d0521bc 100644 --- a/drivers/cam_isp/cam_isp_context.c +++ b/drivers/cam_isp/cam_isp_context.c @@ -866,7 +866,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 @@ -875,6 +874,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,