|
@@ -131,6 +131,7 @@
|
|
ipa3_dec_client_disable_clks_no_block(&log_info); \
|
|
ipa3_dec_client_disable_clks_no_block(&log_info); \
|
|
} while (0)
|
|
} while (0)
|
|
|
|
|
|
|
|
+#ifdef IPA_DEBUG
|
|
/*
|
|
/*
|
|
* Printing one warning message in 5 seconds if multiple warning messages
|
|
* Printing one warning message in 5 seconds if multiple warning messages
|
|
* are coming back to back.
|
|
* are coming back to back.
|
|
@@ -146,6 +147,9 @@
|
|
if (unlikely(rtn && __ratelimit(&_rs))) \
|
|
if (unlikely(rtn && __ratelimit(&_rs))) \
|
|
WARN_ON(rtn); \
|
|
WARN_ON(rtn); \
|
|
})
|
|
})
|
|
|
|
+#else
|
|
|
|
+#define WARN_ON_RATELIMIT_IPA(condition) ((void)0)
|
|
|
|
+#endif
|
|
|
|
|
|
/*
|
|
/*
|
|
* Printing one error message in 5 seconds if multiple error messages
|
|
* Printing one error message in 5 seconds if multiple error messages
|