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

Commit de3c732e authored by Karthik Anantha Ram's avatar Karthik Anantha Ram
Browse files

msm: camera: reqmgr: Remove idx check when detecting congestion



Remove last applied idx check when detecting workq delays.

CRs-Fixed: 2801863
Change-Id: I85fe5aa9af446b25a3dd139a75cf1ed6b2a1253c
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent a993be77
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1758,8 +1758,7 @@ static int __cam_req_mgr_process_req(struct cam_req_mgr_core_link *link,
		if (link->max_delay == 1)
			max_retry++;

		if ((in_q->last_applied_idx < in_q->rd_idx) &&
			!link->wq_congestion) {
		if (!link->wq_congestion) {
			link->retry_cnt++;
			if (link->retry_cnt == max_retry) {
				CAM_DBG(CAM_CRM,