From 3be4acf2428f6aeb48ed2f39392c8c373efd1cb4 Mon Sep 17 00:00:00 2001 From: Arun Kumar Neelakantam Date: Thu, 24 Mar 2016 14:20:32 +0530 Subject: [PATCH] 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 --- drivers/soc/qcom/msm_glink_pkt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;