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 <[email protected]>
This commit is contained in:
Ramprasad Katkam 2019-02-20 10:22:26 +05:30 • committed by Gerrit - the friendly Code Review server
commit 7311253f6f
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;
}