techpack: camera: req_mgr: do not send timestamp for offline context

This commit is contained in:
Cosmin Tanislav 2021-09-01 22:20:09 +03:00 committed by Giovanni Ricca
parent ffcb8b4841
commit 84ef47733c
No known key found for this signature in database

View File

@ -741,6 +741,12 @@ static void __cam_isp_ctx_send_sof_timestamp(
if ((ctx_isp->use_frame_header_ts) || (request_id == 0)) if ((ctx_isp->use_frame_header_ts) || (request_id == 0))
goto end; goto end;
if (ctx_isp->offline_context) {
CAM_DBG(CAM_ISP,
"Don't sent sof timestamp for offline context");
return;
}
req_msg.session_hdl = ctx_isp->base->session_hdl; req_msg.session_hdl = ctx_isp->base->session_hdl;
req_msg.u.frame_msg.frame_id = ctx_isp->frame_id; req_msg.u.frame_msg.frame_id = ctx_isp->frame_id;
req_msg.u.frame_msg.request_id = request_id; req_msg.u.frame_msg.request_id = request_id;