mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "dsp: rate limit read/write error logs"
This commit is contained in:
commit
4427c8b0a8
2 changed files with 4 additions and 4 deletions
|
|
@ -1104,7 +1104,7 @@ static int audio_aio_async_write(struct q6audio_aio *audio,
|
|||
buf_node->token = ac->session;
|
||||
rc = q6asm_async_write(ac, ¶m);
|
||||
if (rc < 0)
|
||||
pr_err("%s[%pK]:failed\n", __func__, audio);
|
||||
pr_err_ratelimited("%s[%pK]:failed\n", __func__, audio);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
@ -1157,7 +1157,7 @@ static int audio_aio_async_read(struct q6audio_aio *audio,
|
|||
buf_node->token = ac->session;
|
||||
rc = q6asm_async_read(ac, ¶m);
|
||||
if (rc < 0)
|
||||
pr_err("%s[%pK]:failed\n", __func__, audio);
|
||||
pr_err_ratelimited("%s[%pK]:failed\n", __func__, audio);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -8625,7 +8625,7 @@ int q6asm_async_write(struct audio_client *ac,
|
|||
return -EINVAL;
|
||||
}
|
||||
if (ac->apr == NULL) {
|
||||
pr_err("%s: AC APR handle NULL\n", __func__);
|
||||
pr_err_ratelimited("%s: AC APR handle NULL\n", __func__);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
@ -8718,7 +8718,7 @@ int q6asm_async_read(struct audio_client *ac,
|
|||
return -EINVAL;
|
||||
}
|
||||
if (ac->apr == NULL) {
|
||||
pr_err("%s: AC APR handle NULL\n", __func__);
|
||||
pr_err_ratelimited("%s: AC APR handle NULL\n", __func__);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue