Home
last modified time | relevance | path

Searched hist:"33 e3820dda8876792bd8135db633c741a07263be" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/rpmsg/
H A Dqcom_smd.c33e3820dda8876792bd8135db633c741a07263be Tue Feb 13 19:04:11 UTC 2018 Bjorn Andersson <bjorn.andersson@linaro.org> 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>