rpmsg: glink: Use the local intents when receiving data
authorSricharan R <sricharan@codeaurora.org>
Thu, 24 Aug 2017 07:21:35 +0000 (12:51 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 30 Aug 2017 03:34:13 +0000 (20:34 -0700)
commit64f95f87920da673d84396ff1253be2098751e38
tree4d630783787c1583223256ffdbfbbeeac02fe6ae
parent933b45da5d1d7c06d53e523833b5f8a6a9bdfa63
rpmsg: glink: Use the local intents when receiving data

So previously on request from remote side, we allocated local intent
buffers and passed the ids to the remote. Now when we receive data
buffers from remote directed to that intent id, copy the data to the
corresponding preallocated intent buffer.

Acked-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/rpmsg/qcom_glink_native.c