mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
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>
This commit is contained in:
parent
1e0d5615bb
commit
38a9acb3bb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user