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 <kartanan@codeaurora.org>
This commit is contained in:
Karthik Anantha Ram 2020-10-13 18:19:26 -07:00
commit fde5d66e83

View file

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