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

Skip to content
Commit b3cb0b43 authored by Konstantin Dorfman's avatar Konstantin Dorfman
Browse files

soc: qcom: spcom: fix error code check to resend packet to the peer



spcom driver implements RPMSG client, using glink as transport to
communicate with Secure Processor. SPU glink peer do not supports rx
intent requests, so spcom driver always uses rpmsg_trysend() api to send
packet.

This change fixes the value to repeat send attempt to be -EBUSY and
-EAGAIN.
Also, spcom_device_write() fixed to propagate error code to userspace.

Change-Id: Iaac9bb862a6126fe5b18a22b2c7ee50247f71438
Signed-off-by: default avatarKonstantin Dorfman <kdorfman@codeaurora.org>
parent b6072a3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment