dsp: codecs: Remove error logging during ssr

During SSR avoid printing some errors which could lead
to excessive logging.

Change-Id: I5f9e7e5f32bc3de87996838048514e16d59c97a6
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
这个提交包含在:
Ramprasad Katkam
2019-02-20 10:22:26 +05:30
提交者 Gerrit - the friendly Code Review server
父节点 e039f16fa4
当前提交 7311253f6f
修改 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;
}