diff --git a/dsp/codecs/audio_utils_aio.c b/dsp/codecs/audio_utils_aio.c index f22163567a..62b9455dbd 100644 --- a/dsp/codecs/audio_utils_aio.c +++ b/dsp/codecs/audio_utils_aio.c @@ -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; } diff --git a/dsp/q6asm.c b/dsp/q6asm.c index 7a7b857e0b..66eef64687 100644 --- a/dsp/q6asm.c +++ b/dsp/q6asm.c @@ -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; }