Skip to content

Commit 43afb1a

Browse files
Camera Software IntegrationGerrit - the friendly Code Review server
authored andcommitted
Merge "msm: camera: req_mgr: Correcting always false if case" into camera-kernel.qclinux.1.0
2 parents 041755c + 94118ed commit 43afb1a

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)