This will help reduce excessive logging in case of certain
error scenarios.
Change-Id: I466c05642988ab72edb77a16f9271678aeb44b74
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
return;
}
- pr_err("%s: VFE pipeline violation status %d\n", __func__,
+ pr_err_ratelimited("%s: VFE pipeline violation status %d\n", __func__,
violation_status);
}
rc = avcs_core_query_timer(&avtimer_tick);
if (rc < 0) {
- pr_err("%s: Error: Invalid AVTimer Tick, rc=%d\n",
+ pr_err_ratelimited("%s: Error: Invalid AVTimer Tick, rc=%d\n",
__func__, rc);
/* In case of error return zero AVTimer Tick Value */
time_stamp->vt_time.tv_sec = 0;