diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-11-16 07:08:33 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-11-16 07:58:01 +0100 |
commit | 38a9acb3bb7b2561a08144ff80a292889f389a9b (patch) | |
tree | 94cac5f0769e060368ff98ea39ed11584550785b /drivers/rpmsg | |
parent | rpmsg: glink: Add missing MODULE_LICENSE (diff) | |
download | linux-38a9acb3bb7b2561a08144ff80a292889f389a9b.tar.xz linux-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.c | 1 |
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) |