summaryrefslogtreecommitdiff
path: root/drivers/dax
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2018-02-13 11:04:11 -0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-03-20 10:52:17 +0800
commit33e3820dda8876792bd8135db633c741a07263be (patch)
tree263a1d4b53c52ba6860056d00fa6f9d9edb4c570 /drivers/dax
parentbe5acd246daa04edad9d758b8be37e5e2f989243 (diff)
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/dax')
0 files changed, 0 insertions, 0 deletions