Skip to content

Commit

Permalink
msm-camera: Enable initial skip for dual camera synchronization
Browse files Browse the repository at this point in the history
For portrait mode with dual camera synchronization, enable initial skip
to make sure two sensors both start streaming with synchronization
signal.  This fixed the portrait mode switching stability issue.

Bug: 136756925
Change-Id: I2e6e8c463bffd04da441f3da3033e6596f30e72a
Signed-off-by: Chris Ye <[email protected]>
Signed-off-by: Yaroslav Furman <[email protected]>
Signed-off-by: Cyber Knight <[email protected]>
  • Loading branch information
lzye authored and HELLBOY017 committed Jul 20, 2023
1 parent 938c331 commit b90c15b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion techpack/camera/drivers/cam_req_mgr/cam_req_mgr_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1067,8 +1067,13 @@ static int __cam_req_mgr_check_sync_for_mslave(
}
}
} else {
if (link->initial_skip)
if (link->initial_skip) {
CAM_DBG(CAM_CRM,
"Initial skip Req: %lld on link: %x",
req_id, link->link_hdl);
link->initial_skip = false;
return -EAGAIN;
}

rc = __cam_req_mgr_inject_delay(link->req.l_tbl, slot->idx);
if (rc) {
Expand Down

0 comments on commit b90c15b

Please sign in to comment.