Merge "dsp: codecs: Remove error logging during ssr"

This commit is contained in:
qctecmdr
2019-04-23 20:42:20 -07:00
committed by Gerrit - the friendly Code Review server
2 changed files with 3 additions and 3 deletions

View File

@@ -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, &param);
if (rc < 0)
if (rc < 0 && rc != -ENETRESET)
pr_err_ratelimited("%s[%pK]:failed\n", __func__, audio);
return rc;
}

View File

@@ -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;
}