Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe87d638 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ipc: apr: Handle ssr return code from glink"

parents 792edd22 b91472be
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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);