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

这个提交包含在:
qctecmdr
2019-04-23 20:42:20 -07:00
提交者 Gerrit - the friendly Code Review server
当前提交 792edd228f
修改 2 个文件,包含 3 行新增3 行删除

查看文件

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

查看文件

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