asoc: Ratelimit error logs
Ratelimit error logs to avoid excessive logging during ssr/pdr. Change-Id: Icdc9823cef5b070ed70cdd002bb3cd00d482a869 Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
This commit is contained in:

committed by
Meng Wang

parent
586382a701
commit
14efed6eb7
@@ -212,7 +212,7 @@ static int tx_macro_mclk_enable(struct tx_macro_priv *tx_priv,
|
||||
TX_CORE_CLK,
|
||||
true);
|
||||
if (ret < 0) {
|
||||
dev_err(tx_priv->dev,
|
||||
dev_err_ratelimited(tx_priv->dev,
|
||||
"%s: request clock enable failed\n",
|
||||
__func__);
|
||||
goto exit;
|
||||
|
Reference in New Issue
Block a user