diff options
author | Sricharan R <sricharan@codeaurora.org> | 2017-08-24 12:51:32 +0530 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-08-29 20:34:12 -0700 |
commit | d31ad615f6fb809b534f6091cd06a7e88c44393e (patch) | |
tree | 167ea940cfebeb141fde41b7ed372f3368baafcf /drivers/rpmsg/qcom_glink_smem.c | |
parent | caf989c350e8e0b9584744b9005fc2c45ca30883 (diff) | |
download | linux-d31ad615f6fb809b534f6091cd06a7e88c44393e.tar.gz linux-d31ad615f6fb809b534f6091cd06a7e88c44393e.tar.bz2 linux-d31ad615f6fb809b534f6091cd06a7e88c44393e.zip |
rpmsg: glink: Add support for transport version negotiation
G-link supports a version number and feature flags for each transport.
A combination of the version number and feature flags enable/disable:
(*) G-Link software updates for each edge
(*) Individual features for each edge
Endpoints negotiate both the version and the supported flags when
the transport is opened and they cannot be changed after negotiation has
been completed.
Each full implementation of G-Link must support a minimum of the current
version, the previous version, and the base negotiation version called v0.
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_smem.c')
-rw-r--r-- | drivers/rpmsg/qcom_glink_smem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rpmsg/qcom_glink_smem.c b/drivers/rpmsg/qcom_glink_smem.c index 19179a15b229..8ad641a08cd8 100644 --- a/drivers/rpmsg/qcom_glink_smem.c +++ b/drivers/rpmsg/qcom_glink_smem.c @@ -284,6 +284,7 @@ struct qcom_glink *qcom_glink_smem_register(struct device *parent, *tx_pipe->head = 0; glink = qcom_glink_native_probe(dev, + 0, &rx_pipe->native, &tx_pipe->native); if (IS_ERR(glink)) { ret = PTR_ERR(glink); |