Skip to content
Commit 2a48d732 authored by Bjorn Andersson's avatar Bjorn Andersson
Browse files

rpmsg: rpmsg_send() operations takes rpmsg_endpoint



The rpmsg_send() operations has been taking a rpmsg_device, but this
forces users of secondary rpmsg_endpoints to use the rpmsg_sendto()
interface - by extracting source and destination from the given data
structures. If we instead pass the rpmsg_endpoint to these functions a
service can use rpmsg_sendto() to respond to messages, even on secondary
endpoints.

In addition this would allow us to support operations on multiple
channels in future backends that does not support off-channel
operations.

Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 4dffed5b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment