Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26f73a7f authored by Bjorn Andersson's avatar Bjorn Andersson Committed by Chris Lew
Browse files

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.

Change-Id: Ib6470f024ab4b5fb6cca57c09cb4921f85e2f2f6
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Patch-mainline: linux-arm-msm @ 15/11/2017 22:08
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent 2ec51c41
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1636,6 +1636,7 @@ struct qcom_glink *qcom_glink_native_probe(struct device *dev,
		glink->name = dev->of_node->name;

	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)