msm: camera: isp: Reset fence after signalling success
If fence is signalled successfully, reset it to -1 to prevent it from getting signalled again incorrectly. CRs-Fixed: 3042511 Change-Id: I87f465508e9e626ad700f592478f253f179e9fe9 Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
This commit is contained in:
@@ -1394,6 +1394,8 @@ static int __cam_isp_ctx_handle_buf_done_for_request_verify_addr(
|
||||
CAM_SYNC_STATE_SIGNALED_SUCCESS,
|
||||
CAM_SYNC_COMMON_EVENT_SUCCESS);
|
||||
}
|
||||
/* Reset fence */
|
||||
req_isp->fence_map_out[j].sync_id = -1;
|
||||
} else if (!req_isp->bubble_report) {
|
||||
CAM_DBG(CAM_ISP,
|
||||
"Sync with failure: req %lld res 0x%x fd 0x%x, ctx %u",
|
||||
|
Reference in New Issue
Block a user