summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Kumar Neelakantam <aneela@codeaurora.org>2016-03-24 14:20:32 +0530
committerJeevan Shriram <jshriram@codeaurora.org>2016-04-07 16:01:13 -0700
commit3be4acf2428f6aeb48ed2f39392c8c373efd1cb4 (patch)
tree265bb3027e4c9a739dcf4d92e548f450ddcf3006
parent4fc0d9c2afbfbf024b847850e9a891154f3c5b36 (diff)
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>
-rw-r--r--drivers/soc/qcom/msm_glink_pkt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/soc/qcom/msm_glink_pkt.c b/drivers/soc/qcom/msm_glink_pkt.c
index 95b67fcaafd2..29b007dbf883 100644
--- a/drivers/soc/qcom/msm_glink_pkt.c
+++ b/drivers/soc/qcom/msm_glink_pkt.c
@@ -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;