slimbus:ratelimit the warning and errors

NO MERGE
This is to avoid the NS WDT issues because of the
excessive logging from tasha codec write failures.

Change-Id: I3502c21de6f4147fb47b1e2224d5a074143747ce
Signed-off-by: Ramesh Gupta Guntha <rgguntha@codeaurora.org>
This commit is contained in:
Ramesh Gupta Guntha 2015-09-21 19:09:17 +05:30
parent 381320b601
commit 8ba5afc391
1 changed files with 2 additions and 2 deletions

View File

@ -364,7 +364,7 @@ enum {
/* warnings and errors show up on console always */
#define SLIM_WARN(dev, x...) do { \
pr_warn(x); \
pr_warn_ratelimited(x); \
if (dev->ipc_slimbus_log && dev->ipc_log_mask >= WARN_LEV) \
ipc_log_string(dev->ipc_slimbus_log, x); \
} while (0)
@ -374,7 +374,7 @@ enum {
* in IPC logging. Further errors continue to log on the console
*/
#define SLIM_ERR(dev, x...) do { \
pr_err(x); \
pr_err_ratelimited(x); \
if (dev->ipc_slimbus_log && dev->ipc_log_mask >= ERR_LEV) { \
ipc_log_string(dev->ipc_slimbus_log, x); \
dev->default_ipc_log_mask = dev->ipc_log_mask; \