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

Commit 7e979ff6 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: reqmgr: Correct the condition check for dual camera"

parents f215573c ae508a2f
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -1152,10 +1152,15 @@ static int __cam_req_mgr_check_sync_req_is_ready(
		 * event of sync link is skipped, so we also need to
		 * skip this SOF event.
		 */
		if (req_id >= sync_req_id) {
			CAM_DBG(CAM_CRM,
				"Timing issue, the sof event of link %x is delayed",
				link->link_hdl);
		if (req_id > sync_req_id) {
			CAM_INFO(CAM_CRM,
				"Timing issue, the sof event delayed of link %x sof ts:0x%x sync link handle:0x%x sync sof:0x%x req:%lld sync reqid:%lld",
				link->link_hdl,
				link->sof_timestamp,
				link->sync_link->link_hdl,
				sync_link->sof_timestamp,
				req_id,
				sync_req_id);
			return -EAGAIN;
		}
	}