soc: qcom: msm_glink_pkt: Add GLINK_OPT_INITIAL_XPORT flag

Use GLINK_OPT_INITIAL_XPORT flag to allow the GLINK core to use
the best transport based on available transports.

CRs-Fixed: 994255
Change-Id: I4a0022954d34d52899d5dd357813c4da90717e2e
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
This commit is contained in:
Arun Kumar Neelakantam 2016-03-24 14:20:32 +05:30 committed by Jeevan Shriram
parent 4fc0d9c2af
commit 3be4acf242

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@ -1050,6 +1050,7 @@ static int glink_pkt_init_add_device(struct glink_pkt_dev *devp, int i)
devp->open_cfg.notify_state = glink_pkt_notify_state;
devp->open_cfg.notify_rx_intent_req = glink_pkt_rmt_rx_intent_req_cb;
devp->open_cfg.notify_rx_sigs = glink_pkt_notify_rx_sigs;
devp->open_cfg.options |= GLINK_OPT_INITIAL_XPORT;
devp->open_cfg.priv = devp;
devp->i = i;