ASoC: DaVinci: pcm, fix underrun by using sram
authorTroy Kisky <troy.kisky@boundarydevices.com>
Thu, 19 Nov 2009 00:49:53 +0000 (17:49 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 19 Nov 2009 10:48:08 +0000 (10:48 +0000)
commit1e224f322bf22280957a5f76164d848526ed9b08
treebdf7af09be46172aa6048bb25fda35980e8b2159
parent1587ea31572e25a0a2c9c491b7f8c937b6c0454e
ASoC: DaVinci: pcm, fix underrun by using sram

Fix underruns by using dma to copy 1st to sram
in a ping/pong buffer style and then copying from
the sram to the ASP. This also has the advantage
of tolerating very long interrupt latency on dma
completion.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
arch/arm/mach-davinci/include/mach/asp.h
sound/soc/davinci/davinci-i2s.c
sound/soc/davinci/davinci-pcm.c
sound/soc/davinci/davinci-pcm.h