rpmsg: smd: Perform handshake during open
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 12 Dec 2017 23:58:53 +0000 (15:58 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 19 Dec 2017 05:49:32 +0000 (21:49 -0800)
commit268105fbc0f82e1daa44b57112ef3fd81f69a174
tree157c90d6a2f722cc0aae4c2dde805807d4fd11a4
parent9d32497361ff89d2fc8306407de6f04b2bfb2836
rpmsg: smd: Perform handshake during open

Validate the the remote side is opening the channel that we've found by
performing a handshake when opening the channel.

Tested-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/rpmsg/qcom_smd.c