summaryrefslogtreecommitdiffstats
path: root/lib/fdt_sw.c
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2018-02-13 11:04:04 -0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-03-20 10:52:54 +0800
commit29fc9b3873607d01b1ff1ae077982cf5629010af (patch)
treedf164e56cfbaebac29baf4f92352769029838e6c /lib/fdt_sw.c
parent33e3820dda8876792bd8135db633c741a07263be (diff)
downloadlinux-29fc9b3873607d01b1ff1ae077982cf5629010af.tar.bz2
rpmsg: glink: Use spinlock in tx path
Switch the tx_lock to a spinlock we allow clients to use rpmsg_trysend() from atomic context. In order to allow clients to sleep while waiting for space in the FIFO we release the lock temporarily around the delay; which should be replaced by sending a READ_NOTIF and waiting for the remote to signal us that space has been made available. Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'lib/fdt_sw.c')
0 files changed, 0 insertions, 0 deletions