Browse Source

msm: camera: req_mgr: Increase one more request to apply in initial sync

For SW sync to work, CRM needs to apply the first 6 requests in
initial sync mode. This change is to increase the count of requests
to be applied in the initial sync mode.

CRs-Fixed: 3000684
Change-Id: Ic35d37ac727fc10ec113dd9f05074cec7a52e39a
Signed-off-by: Ayush Kumar <[email protected]>
Ayush Kumar 3 năm trước cách đây
mục cha
commit
688f87e5e7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/cam_req_mgr/cam_req_mgr_core.c

+ 1 - 1
drivers/cam_req_mgr/cam_req_mgr_core.c

@@ -2396,7 +2396,7 @@ int cam_req_mgr_process_sched_req(void *priv, void *data)
 	 */
 
 	if (link->sync_data.is_sync_req && tmp_slot->sync_mode == CAM_REQ_MGR_SYNC_MODE_SYNC
-		&& ((link->sync_data.initial_sync_req + 5) > tmp_slot->req_id)) {
+		&& ((link->sync_data.initial_sync_req + 6) > tmp_slot->req_id)) {
 		slot->sync_mode = CAM_REQ_MGR_SYNC_MODE_TRANSITION_SYNC;
 	} else if (tmp_slot->sync_mode == CAM_REQ_MGR_SYNC_MODE_SYNC) {
 		if (link->sync_data.is_sync_req && (link->initial_skip == 0)) {