Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fde5d66e authored by Karthik Anantha Ram's avatar Karthik Anantha Ram
Browse files

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: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent 91a37fd0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;