mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
Revert "msm: camera: req_mgr: Validate active sequence id in link control"
This reverts commit 4580f024fe.
CRs-Fixed: 2898158
Change-Id: I29ab6ef02df0b30093c9f6a295eb74351f480a00
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
This commit is contained in:
parent
8227b6af95
commit
ec6656b5fc
1 changed files with 1 additions and 4 deletions
|
|
@ -5009,10 +5009,7 @@ int cam_req_mgr_link_control(struct cam_req_mgr_link_control *control)
|
|||
link->state = CAM_CRM_LINK_STATE_IDLE;
|
||||
link->skip_init_frame = false;
|
||||
crm_timer_exit(&link->watchdog);
|
||||
if ((link->activate_seq >= 0) &&
|
||||
(link->activate_seq < MAXIMUM_LINKS_PER_SESSION))
|
||||
clear_bit(link->activate_seq, g_crm_core_dev->bitmap);
|
||||
|
||||
clear_bit(link->activate_seq, g_crm_core_dev->bitmap);
|
||||
link->activate_seq = -1;
|
||||
spin_unlock_bh(&link->link_state_spin_lock);
|
||||
CAM_DBG(CAM_CRM,
|
||||
|
|
|
|||
Loading…
Reference in a new issue