Merge "dsp: codecs: Remove error logging during ssr"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
792edd228f
@@ -1157,7 +1157,7 @@ static int audio_aio_async_read(struct q6audio_aio *audio,
|
||||
/* Write command will populate session_id as token */
|
||||
buf_node->token = ac->session;
|
||||
rc = q6asm_async_read(ac, ¶m);
|
||||
if (rc < 0)
|
||||
if (rc < 0 && rc != -ENETRESET)
|
||||
pr_err_ratelimited("%s[%pK]:failed\n", __func__, audio);
|
||||
return rc;
|
||||
}
|
||||
|
@@ -9539,8 +9539,8 @@ int q6asm_async_read(struct audio_client *ac,
|
||||
}
|
||||
|
||||
rc = apr_send_pkt(ac->apr, (uint32_t *) &read);
|
||||
if (rc < 0) {
|
||||
pr_err("%s: read op[0x%x]rc[%d]\n", __func__,
|
||||
if (rc < 0 && rc != -ENETRESET) {
|
||||
pr_err_ratelimited("%s: read op[0x%x]rc[%d]\n", __func__,
|
||||
read.hdr.opcode, rc);
|
||||
goto fail_cmd;
|
||||
}
|
||||
|
Reference in New Issue
Block a user