aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorroger nilsson <roger.xr.nilsson@stericsson.com>2011-03-31 15:02:43 +0200
committerJonas ABERG <jonas.aberg@stericsson.com>2011-04-01 08:40:51 +0200
commit03667b7414114651fa1ce03fad184e62c85e76d6 (patch)
tree3444865764845a7acfdc89fe2d002a828968e07d /sound
parent276a080e1030b407f5c553acb79879c47f14d3b1 (diff)
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 <roger.xr.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19628 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/cg29xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cg29xx.c b/sound/soc/codecs/cg29xx.c
index 560c10be102..c592a580a8a 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;