diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2009-11-18 19:49:53 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-11-19 05:48:08 -0500 |
commit | 1e224f322bf22280957a5f76164d848526ed9b08 (patch) | |
tree | bdf7af09be46172aa6048bb25fda35980e8b2159 /arch/arm/mach-davinci | |
parent | 1587ea31572e25a0a2c9c491b7f8c937b6c0454e (diff) |
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>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/asp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/asp.h b/arch/arm/mach-davinci/include/mach/asp.h index 019c6473341..e07f70ed7c5 100644 --- a/arch/arm/mach-davinci/include/mach/asp.h +++ b/arch/arm/mach-davinci/include/mach/asp.h | |||
@@ -57,6 +57,8 @@ struct snd_platform_data { | |||
57 | * when compared to previous behavior. | 57 | * when compared to previous behavior. |
58 | */ | 58 | */ |
59 | unsigned enable_channel_combine:1; | 59 | unsigned enable_channel_combine:1; |
60 | unsigned sram_size_playback; | ||
61 | unsigned sram_size_capture; | ||
60 | 62 | ||
61 | /* McASP specific fields */ | 63 | /* McASP specific fields */ |
62 | int tdm_slots; | 64 | int tdm_slots; |