diff --git a/ipc/apr.c b/ipc/apr.c index fbb1f32e6c..f1dbc36d9d 100644 --- a/ipc/apr.c +++ b/ipc/apr.c @@ -419,8 +419,13 @@ int apr_send_pkt(void *handle, uint32_t *buf) rc = -EINVAL; } } else { - pr_err("%s: Write APR pkt failed with error %d\n", + pr_err_ratelimited("%s: Write APR pkt failed with error %d\n", __func__, rc); + if (rc == -ECONNRESET) { + pr_err_ratelimited("%s: Received reset error from tal\n", + __func__); + rc = -ENETRESET; + } } spin_unlock_irqrestore(&svc->w_lock, flags);