Browse Source

Merge "msm: camera: isp: Skip qtimer shutter for invalid req_id" into camera-kernel.lnx.4.0

Haritha Chintalapati 4 years ago
parent
commit
692dd76c99
1 changed files with 1 additions and 2 deletions
  1. 1 2
      drivers/cam_isp/cam_isp_context.c

+ 1 - 2
drivers/cam_isp/cam_isp_context.c

@@ -726,8 +726,7 @@ static void __cam_isp_ctx_send_sof_timestamp(
 {
 	struct cam_req_mgr_message   req_msg;
 
-	if ((ctx_isp->use_frame_header_ts) && (request_id) &&
-		(sof_event_status == CAM_REQ_MGR_SOF_EVENT_SUCCESS))
+	if ((ctx_isp->use_frame_header_ts) || (request_id == 0))
 		goto end;
 
 	req_msg.session_hdl = ctx_isp->base->session_hdl;