Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1e44aa4 authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "msm: camera: req_mgr: Validate active sequence id in link...

Merge "Revert "msm: camera: req_mgr: Validate active sequence id in link control"" into camera-kernel.lnx.4.0
parents 90c3dafb ec6656b5
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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);

			link->activate_seq = -1;
			spin_unlock_bh(&link->link_state_spin_lock);
			CAM_DBG(CAM_CRM,