Skip to content

Commit

Permalink
ASoC: Fix Zylonite voice interface stereo configurations
Browse files Browse the repository at this point in the history
We always run in the first timeslot of one.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Feb 24, 2009
1 parent 8056d9b commit d3b8942
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sound/soc/pxa/zylonite.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,8 @@ static int zylonite_voice_hw_params(struct snd_pcm_substream *substream,
if (ret < 0)
return ret;

ret = snd_soc_dai_set_tdm_slot(cpu_dai,
params_channels(params),
params_channels(params));
/* We're not really in network mode but the emulation wants this. */
ret = snd_soc_dai_set_tdm_slot(cpu_dai, 1, 1);
if (ret < 0)
return ret;

Expand Down

0 comments on commit d3b8942

Please sign in to comment.