Explorar o código

msm: camera: isp: Skip qtimer shutter for invalid req_id

In order to reduce the traffic on the v4l2 queue, avoid
posting qtimer shutter for bubbled frames.

CRs-Fixed: 2799794
Change-Id: Id752605e7aff89246edfeec9337612bb7c9b4790
Signed-off-by: Karthik Anantha Ram <[email protected]>
Karthik Anantha Ram %!s(int64=4) %!d(string=hai) anos
pai
achega
fde5d66e83
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      drivers/cam_isp/cam_isp_context.c

+ 1 - 2
drivers/cam_isp/cam_isp_context.c

@@ -712,8 +712,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;