Skip to content

RFC da850 mcasp playback ping-pong buffers don't work

Ben Gardiner alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ASoC: davinci-mcasp: enable ping-pong SRAM bufferssound/soc/davinci/davinci-mcasp.c+2 -00 replies
2/2da850evm: enable mcasp ping-pong buffersarch/arm/configs/da8xx_omapl_defconfig arch/arm/mach-davinci/board-da850-evm.c+4 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchBen Gardiner
1/2Not-signed-off-by
2/2Not-signed-off-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH RFC 0/2] da850 mcasp playback ping-pong buffers don't work

Hi All,

I've been testing playback on the da850evm. The good news is on 2.6.39-rc7 playback works fine. The bad news is that if the patches in the series are applied -- playback does not work.

The first patch copies the sram-size platform data to the dma parameters used by davinci-pcm the same way that the existing davinci-i2s driver does. The second patch assigns a buffer size to the playback sram platform data and sets the queues as per Troy's introduction of ping-pong buffers.

I was hoping this would result in playback of audio; but instead there is soft click and then silence. I added pointer debug and observed that the period_update and hwptr_update events progress; but that's as far as I have probed.

Does anyone have any clues why ping-pong buffers on da850 to the McASP would work? Or any clues why the patches are broken?

Best Regards,
Ben Gardiner

Ben Gardiner (2):
[RFC] ASoC: davinci-mcasp: enable ping-pong SRAM buffers [RFC] da850evm: enable mcasp ping-pong buffers

 arch/arm/configs/da8xx_omapl_defconfig  |    1 +
 arch/arm/mach-davinci/board-da850-evm.c |    4 +++-
 sound/soc/davinci/davinci-mcasp.c       |    2 ++
 3 files changed, 6 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.4.1