summaryrefslogtreecommitdiff
path: root/drivers/rpmsg/qcom_glink_native.c
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2018-02-13 22:04:11 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-03-20 05:52:17 +0300
commit33e3820dda8876792bd8135db633c741a07263be (patch)
tree263a1d4b53c52ba6860056d00fa6f9d9edb4c570 /drivers/rpmsg/qcom_glink_native.c
parentbe5acd246daa04edad9d758b8be37e5e2f989243 (diff)
downloadlinux-33e3820dda8876792bd8135db633c741a07263be.tar.xz
rpmsg: smd: Use spinlock in tx path
By switching the tx_lock to a spinlock we allow clients to use rpmsg_trysend() from atomic context. The mutex was interruptable as it was previously held for the duration of some client waiting for available space in the FIFO, but this was recently changed to only be held temporarily - allowing us to replace it with a spinlock. Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/rpmsg/qcom_glink_native.c')
0 files changed, 0 insertions, 0 deletions