msm-camera: Enable initial skip for dual camera synchronization

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 <lzye@google.com>
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Forenche <prahul2003@gmail.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
This commit is contained in:
Chris Ye 2019-07-21 22:51:42 -07:00 committed by azrim
parent 158bcde7fc
commit 42d78d3fb6
No known key found for this signature in database
GPG Key ID: 497F8FB059B45D1C

View File

@ -828,8 +828,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) {