瀏覽代碼

msm: ipa3: Update the Error log with rate limit

Rate limited the Error logging, while route addition failing.

Change-Id: I595cbdf5eebbf82371e20becab49d9a36553b62c
Signed-off-by: Raghavendar rao l <[email protected]>
Raghavendar rao l 3 年之前
父節點
當前提交
02c7482fd4
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/platform/msm/ipa/ipa_v3/ipa_rt.c

+ 2 - 2
drivers/platform/msm/ipa/ipa_v3/ipa_rt.c

@@ -879,11 +879,11 @@ static struct ipa3_rt_tbl *__ipa_add_rt_tbl(enum ipa_ip_type ip,
 			}
 		}
 		if (i == IPA_RT_INDEX_BITMAP_SIZE) {
-			IPAERR("not free RT tbl indices left\n");
+			IPAERR_RL("not free RT tbl indices left\n");
 			goto fail_rt_idx_alloc;
 		}
 		if (i > max_tbl_indx) {
-			IPAERR("rt tbl index is above max\n");
+			IPAERR_RL("rt tbl index is above max\n");
 			goto fail_rt_idx_alloc;
 		}