Skip to content

Commit 94118ed

Browse files
msm: camera: req_mgr: Correcting always false if case
Adds change to fix always false 'if case' by correcting condition. CRs-Fixed: 3830586 Change-Id: I37f3a3a281fe5585d1551aae73e49896ac78715b Signed-off-by: Ignatius Michael Jihan <mignatiu@qti.qualcomm.com>
1 parent 5cc4fdc commit 94118ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

camera/drivers/cam_req_mgr/cam_req_mgr_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5384,7 +5384,7 @@ int cam_req_mgr_schedule_request_v3(
53845384
}
53855385

53865386
if (sched_req->sync_mode == CAM_REQ_MGR_SYNC_MODE_SYNC) {
5387-
if ((sched_req->num_links <= 0) &&
5387+
if ((sched_req->num_links <= 0) ||
53885388
(sched_req->num_links > MAXIMUM_LINKS_PER_SESSION)) {
53895389
CAM_ERR(CAM_CRM, "link:0x%x req:%lld invalid num_links:%d",
53905390
link->link_hdl, sched_req->req_id, sched_req->num_links);

0 commit comments

Comments
 (0)