mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "ipc: apr: set q6 state down when ECONNRESET from TAL"
This commit is contained in:
commit
b6adfb5938
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue