We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 041755c + 94118ed commit 43afb1aCopy full SHA for 43afb1a
1 file changed
camera/drivers/cam_req_mgr/cam_req_mgr_core.c
@@ -5384,7 +5384,7 @@ int cam_req_mgr_schedule_request_v3(
5384
}
5385
5386
if (sched_req->sync_mode == CAM_REQ_MGR_SYNC_MODE_SYNC) {
5387
- if ((sched_req->num_links <= 0) &&
+ if ((sched_req->num_links <= 0) ||
5388
(sched_req->num_links > MAXIMUM_LINKS_PER_SESSION)) {
5389
CAM_ERR(CAM_CRM, "link:0x%x req:%lld invalid num_links:%d",
5390
link->link_hdl, sched_req->req_id, sched_req->num_links);
0 commit comments