diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-02-23 13:45:19 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-02-24 18:48:12 -0500 |
commit | d3b894218441ecb1c83e47c682e2d6589ee37a8d (patch) | |
tree | dc8b073c1d06fade82df6db5f319c55681b41599 | |
parent | 8056d9bbb57207854462b6b0a3a75d172300cce5 (diff) |
ASoC: Fix Zylonite voice interface stereo configurations
We always run in the first timeslot of one.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/pxa/zylonite.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/pxa/zylonite.c b/sound/soc/pxa/zylonite.c index ec2fb764b241..0140a250db24 100644 --- a/sound/soc/pxa/zylonite.c +++ b/sound/soc/pxa/zylonite.c | |||
@@ -127,9 +127,8 @@ static int zylonite_voice_hw_params(struct snd_pcm_substream *substream, | |||
127 | if (ret < 0) | 127 | if (ret < 0) |
128 | return ret; | 128 | return ret; |
129 | 129 | ||
130 | ret = snd_soc_dai_set_tdm_slot(cpu_dai, | 130 | /* We're not really in network mode but the emulation wants this. */ |
131 | params_channels(params), | 131 | ret = snd_soc_dai_set_tdm_slot(cpu_dai, 1, 1); |
132 | params_channels(params)); | ||
133 | if (ret < 0) | 132 | if (ret < 0) |
134 | return ret; | 133 | return ret; |
135 | 134 | ||