diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2009-07-07 20:36:06 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-07-08 11:00:20 -0400 |
commit | 6e5414750af8a521c3ba7805d6ad460ba21df1a1 (patch) | |
tree | 87cbd988693bf1ec10f60b8e9d91014606033126 /sound/soc/davinci | |
parent | 3f405b46a91c0c4cdfa6077b4e1853f35a94e8ef (diff) |
ASoC: DaVinci: pcm, don't play 1st sound period twice
Update the dma link with correct data as soon as
the master channel has copied it. Otherwise, the
1st period will play twice.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/davinci')
-rw-r--r-- | sound/soc/davinci/davinci-pcm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/davinci/davinci-pcm.c b/sound/soc/davinci/davinci-pcm.c index a05996588489..8fd0c3cdc710 100644 --- a/sound/soc/davinci/davinci-pcm.c +++ b/sound/soc/davinci/davinci-pcm.c | |||
@@ -206,6 +206,7 @@ static int davinci_pcm_prepare(struct snd_pcm_substream *substream) | |||
206 | /* Copy self-linked parameter RAM entry into master channel */ | 206 | /* Copy self-linked parameter RAM entry into master channel */ |
207 | edma_read_slot(prtd->slave_lch, &temp); | 207 | edma_read_slot(prtd->slave_lch, &temp); |
208 | edma_write_slot(prtd->master_lch, &temp); | 208 | edma_write_slot(prtd->master_lch, &temp); |
209 | davinci_pcm_enqueue_dma(substream); | ||
209 | 210 | ||
210 | return 0; | 211 | return 0; |
211 | } | 212 | } |