From 41f34441fc155405d8d098807690a98bf401eb72 Mon Sep 17 00:00:00 2001 From: roger nilsson Date: Thu, 31 Mar 2011 15:02:43 +0200 Subject: ASoC: cg29xx: The driver will not start a BTSCO stream. If BTSCO is routed the driver will rely on the BT stack to setup the chip. Change-Id: Iea547d291c38d7a0784bbbd337d6095722c9ecfb Signed-off-by: roger nilsson Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19628 Reviewed-by: Ola LILJA2 --- sound/soc/codecs/cg29xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound') diff --git a/sound/soc/codecs/cg29xx.c b/sound/soc/codecs/cg29xx.c index 8ae0577a329..363721cc2ca 100644 --- a/sound/soc/codecs/cg29xx.c +++ b/sound/soc/codecs/cg29xx.c @@ -381,7 +381,7 @@ static int cg29xx_start_if(struct cg29xx_codec_dai_data *dai_data, stream = &dai_data->tx_active; } - if (*stream) { + if (*stream || (endpid == ENDPOINT_BT_SCO_INOUT)) { pr_debug("asoc cg29xx - %s - The interface has already been started.\n", __func__); return 0; -- cgit v1.2.3