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 <depengs@codeaurora.org>
This commit is contained in:
Depeng Shao 2021-06-15 10:48:38 +08:00
commit 6c3073f63a

View file

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