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

Commit d56f4b80 authored by Deepak Kumar Singh's avatar Deepak Kumar Singh
Browse files

rpmsg: glink: Return -ECONNRESET for non-blcoking tx



For non-blocking Glink tx return -ECONNRESET in case
of connection reset.

CR-Fixed: 2401245
Change-Id: I0773847e8d8cd18664199f13b0830689d741bcf0
Signed-off-by: default avatarDeepak Kumar Singh <deesin@codeaurora.org>
parent d02d62b8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1480,6 +1480,9 @@ static int __qcom_glink_send(struct glink_channel *channel,
			if (intent)
				break;

			if (atomic_read(&glink->in_reset))
				return -ECONNRESET;

			if (!wait)
				return -EBUSY;