diff options
author | Bjorn Andersson <quic_bjorande@quicinc.com> | 2023-02-13 18:52:14 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-02-14 19:19:38 +0300 |
commit | 9c96bacf1af51bc71898f31e025f08338c6ca4da (patch) | |
tree | c2daaa7ef80fa8e00961641c381bcd6797f9d215 /drivers/rpmsg/qcom_glink_smem.c | |
parent | f424d1cbe8c7ef78a4b639502fa9904c4198387b (diff) | |
download | linux-9c96bacf1af51bc71898f31e025f08338c6ca4da.tar.xz |
rpmsg: glink: Fail qcom_glink_tx() once remove has been initiated
Upon removing the glink edge, communication is at best one-way. This
means that the very common scenario of glink requesting intents will not
be possible to serve.
Typically a successful transmission results in the client waiting for a
response, with some timeout and a mechanism for aborting that timeout.
Because of this, once the glink edge is defunct once removal is
commenced it's better to fail transmissions fast.
Reviewed-by: Chris Lew <quic_clew@quicinc.com>
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230213155215.1237059-6-quic_bjorande@quicinc.com
Diffstat (limited to 'drivers/rpmsg/qcom_glink_smem.c')
0 files changed, 0 insertions, 0 deletions