rpmsg: glink: Use best fit intent during tx
authorChris Lew <clew@codeaurora.org>
Thu, 26 Oct 2017 22:28:56 +0000 (15:28 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 31 Oct 2017 04:25:11 +0000 (21:25 -0700)
commit290318702bb2e7d74c24fbe52d8184fc79a17e93
tree31423b6a9ae72a72196411bab846abc122e5bbd8
parent073893778dc2f68e41d65d79925ca89db526b4ab
rpmsg: glink: Use best fit intent during tx

Intents can vary in size, try to find the best fitting remote intent
instead of first fit when sending a message to the remote proc.

Signed-off-by: Chris Lew <clew@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/rpmsg/qcom_glink_native.c