Removed WARN_ON from the IPA rate limit macro. Change-Id: Ifceeb4360bfd0141c95fb1c41855f09a349153f0 Signed-off-by: Chirag Rastogi <[email protected]>
@@ -131,6 +131,7 @@
ipa3_dec_client_disable_clks_no_block(&log_info); \
} while (0)
+#ifdef IPA_DEBUG
/*
* Printing one warning message in 5 seconds if multiple warning messages
* are coming back to back.
@@ -146,6 +147,9 @@
if (unlikely(rtn && __ratelimit(&_rs))) \
WARN_ON(rtn); \
})
+#else
+#define WARN_ON_RATELIMIT_IPA(condition) ((void)0)
+#endif
* Printing one error message in 5 seconds if multiple error messages