瀏覽代碼

Merge "msm: camera: reqmgr: Remove idx check when detecting congestion" into camera-kernel.lnx.4.0

Haritha Chintalapati 4 年之前
父節點
當前提交
17af990ff6
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      drivers/cam_req_mgr/cam_req_mgr_core.c

+ 1 - 2
drivers/cam_req_mgr/cam_req_mgr_core.c

@@ -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,