Skip to contentSkip to conversation

ASoC: DaVinci: pcm, don't play 1st sound period twice

PATCH Applied Troy Kisky 2 participants 2 messages Jul 8, 2009

Subsystems (2)
lore
Share & tools
lore

Troy Kisky

author
#0 lore raw

PATCH 1/1 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.

---
 sound/soc/davinci/davinci-pcm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/davinci/davinci-pcm.c +1 -0
index a059965..8fd0c3c 100644
@@ -206,6 +206,7 @@ static int davinci_pcm_prepare(struct snd_pcm_substream *substream)
 	/* Copy self-linked parameter RAM entry into master channel */
 	edma_read_slot(prtd->slave_lch, &temp);
 	edma_write_slot(prtd->master_lch, &temp);
+	davinci_pcm_enqueue_dma(substream);
 
 	return 0;
 }
Signature · 1 line
1.5.6.3
Applied
#1 lore raw
Quoted 5 lines · Troy Kisky

Update the dma link with correct data as soon as
the master channel has copied it. Otherwise, the
1st period will play twice.

applied, thanks.