]> asedeno.scripts.mit.edu Git - linux.git/commit
rpmsg: glink: Add announce_create ops and preallocate intents
authorSricharan R <sricharan@codeaurora.org>
Thu, 24 Aug 2017 07:21:38 +0000 (12:51 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 30 Aug 2017 03:34:14 +0000 (20:34 -0700)
commit6bf68cbdf7df32d53fcf32a9615d00913eac8d23
treed74912683b401ea58124dea3c797ef3f307e7413
parent1d2ea36eead91e77e2733000a7f8e81a87d30c52
rpmsg: glink: Add announce_create ops and preallocate intents

Preallocate local intent buffers and pass the intent ids to the remote.
This way there are some default intents available  for the remote to
start sending data without having to wait by sending intent requests. Do
this by adding the rpmsg announce_create ops, which gets called right
after the rpmsg device gets probed.

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