rpmsg: glink: smem: Enable the glink zero copy

Enable the zero copy feature for the smem transport. This informs the
glink core layer that the transport can support zero copy.

Change-Id: I2066c18c984971ef96637d2cb695fdbcb957d41c
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
This commit is contained in:
Chris Lew 2022-07-17 17:00:37 -07:00
parent fe53296c57
commit e4908a64be

View File

@ -292,7 +292,7 @@ struct qcom_glink *qcom_glink_smem_register(struct device *parent,
*tx_pipe->head = 0;
glink = qcom_glink_native_probe(dev,
GLINK_FEATURE_INTENT_REUSE,
GLINK_FEATURE_INTENT_REUSE | GLINK_FEATURE_ZERO_COPY,
&rx_pipe->native, &tx_pipe->native,
false);
if (IS_ERR(glink)) {