diff options
author | roger nilsson <roger.xr.nilsson@stericsson.com> | 2011-04-29 15:10:20 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 15:15:12 +0200 |
commit | 06426010d5f7da3dece6e27eda9cfa8ccae26688 (patch) | |
tree | 5055db42387536116bc81e4f19b89c9d369f5b68 /sound | |
parent | 6a11abd7822a872720756fa631c7d4109955aa26 (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.c | 2 |
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); |