summaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2017-11-15 22:08:33 -0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2017-11-15 22:58:01 -0800
commit38a9acb3bb7b2561a08144ff80a292889f389a9b (patch)
tree94cac5f0769e060368ff98ea39ed11584550785b /drivers/rpmsg
parent1e0d5615bbc37deb7732491798abccf8d3c3d244 (diff)
downloadlinux-stable-38a9acb3bb7b2561a08144ff80a292889f389a9b.tar.gz
linux-stable-38a9acb3bb7b2561a08144ff80a292889f389a9b.tar.bz2
linux-stable-38a9acb3bb7b2561a08144ff80a292889f389a9b.zip
rpmsg: glink: The mbox client knows_txdone
As the GLINK driver is ticking the txdone of the mailbox channel (to implement the doorbell) it needs to set knows_txdone. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/rpmsg')
-rw-r--r--drivers/rpmsg/qcom_glink_native.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rpmsg/qcom_glink_native.c b/drivers/rpmsg/qcom_glink_native.c
index cd9d643433d3..40d76d2a5eff 100644
--- a/drivers/rpmsg/qcom_glink_native.c
+++ b/drivers/rpmsg/qcom_glink_native.c
@@ -1576,6 +1576,7 @@ struct qcom_glink *qcom_glink_native_probe(struct device *dev,
idr_init(&glink->rcids);
glink->mbox_client.dev = dev;
+ glink->mbox_client.knows_txdone = true;
glink->mbox_chan = mbox_request_channel(&glink->mbox_client, 0);
if (IS_ERR(glink->mbox_chan)) {
if (PTR_ERR(glink->mbox_chan) != -EPROBE_DEFER)