msm: camera: reqmgr: Reset sync mode for sync link in bubble

Reset sync link in case of bubble recovery.
When dual link is enabled, it is not required to re-apply the sync link
request in bubble recovery as the sync link request is already applied and
by the time reapply comes request would not be in pending list.
Therefore set the sync mode to zero for that index, so that
there would not be any dependency on the sync link.

CRs-Fixed: 2978526
Change-Id: I327371baecfd6d378cb773bc27c412ba6d2ba42d
Signed-off-by: Wyes Karny <wkarny@codeaurora.org>
This commit is contained in:
Wyes Karny 2021-06-01 01:03:52 +05:30
commit 3273afefe7

View file

@ -2900,6 +2900,13 @@ int cam_req_mgr_process_error(void *priv, void *data)
in_q->rd_idx = idx;
in_q->slot[idx].status = CRM_SLOT_STATUS_REQ_ADDED;
if (link->sync_link[0]) {
in_q->slot[idx].sync_mode = 0;
__cam_req_mgr_inc_idx(&idx, 1,
link->req.l_tbl->num_slots);
in_q->slot[idx].sync_mode = 0;
}
/* The next req may also be applied */
idx = in_q->rd_idx;
__cam_req_mgr_inc_idx(&idx, 1,