aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorroger nilsson <roger.xr.nilsson@stericsson.com>2011-04-29 15:10:20 +0200
committerPhilippe Langlais <philippe.langlais@linaro.org>2011-07-22 15:45:37 +0200
commit0feb79795067fad6757bf9350bdc5191f91f1fbb (patch)
tree1c47f73ac91149ddf3de0666d6a981766c18ec0a /sound
parent27109eb42f9f5fdf923695b64c73e4c6805ba15b (diff)
Ux500 ASoC: cg29xx: The I2S PCM interface must not be configured
It is not possible to configure the I2S PCM interface after the SCO link has been setup by the BT stack. ST-Ericsson ID: 337 138 Change-Id: Icc48f76c0d41665988709e4f09856e081c654e8a Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21955 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: Johan BOHLIN <johan.bohlin@stericsson.com> Tested-by: Johan BOHLIN <johan.bohlin@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 363721cc2ca..41d8b11c2db 100644
--- a/sound/soc/codecs/cg29xx.c
+++ b/sound/soc/codecs/cg29xx.c
@@ -500,7 +500,7 @@ static int cg29xx_dai_hw_params(struct snd_pcm_substream *substream,
dai_data->config.conf.i2s_pcm.ratio = ratio;
}
- if (!(dai_data->tx_active | dai_data->rx_active)) {
+ if (!(dai_data->tx_active | dai_data->rx_active) && dai_data->config.port != PORT_1_I2S_PCM) {
err = cg2900_audio_set_dai_config(
codec_private.session,
&dai_data->config);