diff options
author | Sricharan R <sricharan@codeaurora.org> | 2017-08-24 09:21:33 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-08-30 05:34:12 +0200 |
commit | 44f6df922a260f1906abca8c0771e1811fff8443 (patch) | |
tree | b06a94e2b9cb28c6fcdade3f1f9d250771d89bc1 /drivers/rpmsg/qcom_glink_native.h | |
parent | rpmsg: glink: Add support for transport version negotiation (diff) | |
download | linux-44f6df922a260f1906abca8c0771e1811fff8443.tar.xz linux-44f6df922a260f1906abca8c0771e1811fff8443.zip |
rpmsg: glink: Fix idr_lock from mutex to spinlock
The channel members lcids, rcids synchronised using the idr_lock is
accessed in both atomic/non-atomic contexts. The readers are not
currently synchronised. That no correct, so add the readers as well
under the lock and use a spinlock.
Acked-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/rpmsg/qcom_glink_native.h')
0 files changed, 0 insertions, 0 deletions