mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
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:
parent
146310b60e
commit
3273afefe7
1 changed files with 7 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue