summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorqctecmdr <qctecmdr@localhost>2020-08-29 00:30:36 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2020-08-29 00:30:36 -0700
commitb6adfb5938f940ee5f0a333f2e9d0bede31dcd4c (patch)
tree7369bc51cb3c8b6f06aecfc9cb7d2c5b37e70521 /ipc
parentfc3cf7b6d96ced5ef971eb2f78ac2f5c598c4df7 (diff)
parent35d2276eac10fd6b20e85724df66e62adb019799 (diff)
downloadmsm-extra-b6adfb5938f940ee5f0a333f2e9d0bede31dcd4c.tar.gz
Merge "ipc: apr: set q6 state down when ECONNRESET from TAL"
Diffstat (limited to 'ipc')
-rw-r--r--ipc/apr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipc/apr.c b/ipc/apr.c
index a8419d44..87fb8907 100644
--- a/ipc/apr.c
+++ b/ipc/apr.c
@@ -432,6 +432,8 @@ int apr_send_pkt(void *handle, uint32_t *buf)
if (rc == -ECONNRESET) {
pr_err_ratelimited("%s: Received reset error from tal\n",
__func__);
+ if (svc->dest_id == APR_DEST_QDSP6)
+ apr_set_q6_state(APR_SUBSYS_DOWN);
rc = -ENETRESET;
}
if (rc == -EAGAIN || rc == -ETIMEDOUT) {