]> git.karo-electronics.de Git - linux-beck.git/commit
rpmsg: smd: Reduce restrictions when finding channel
authorBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 8 Oct 2016 04:23:11 +0000 (21:23 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 31 Oct 2016 22:40:40 +0000 (15:40 -0700)
commit66dca399e60071d93f22023f3fb1c1c358eb2f06
treed7f9ad5f5ff9c1ab95b8b9744b85cd928aff4ba5
parent1001354ca34179f3db924eb66672442a173147dc
rpmsg: smd: Reduce restrictions when finding channel

SMD channels are created by the remotes in "opening" state, but
sometimes as we close and try to reopen them they linger in closing
state.

Following the search for a matching channel the create_ept() will verify
that the channel is in a suitable state, so we can lax the restrictions
of the search function to work around above difference in behaviour.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/rpmsg/qcom_smd.c