ARM: S3C: Add info for supporting circular DMA buffers
authorBen Dooks <ben-linux@fluff.org>
Tue, 22 Sep 2009 15:48:56 +0000 (16:48 +0100)
committerBen Dooks <ben-linux@fluff.org>
Wed, 28 Oct 2009 18:22:57 +0000 (18:22 +0000)
commite3d8024891dbfec6cf36c9b76177650f48118462
tree2046fa2ec4259e32b02ef29107fa6ace142e8f8f
parent964fe080d94db82a3268443e9b9ece4c60246414
ARM: S3C: Add info for supporting circular DMA buffers

The S3C64XX DMA implementation will work a lot better with the ability
to enqueue circular buffers as the hardware can do it's own linked-list
management.

Add a function s3c_dma_has_circular() to show that the system can do this
and a flag for the channel.

Update the s3c24xx/s3c64xx I2S DMA code to deal with this.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Acked-by: Mark Brown <broonie@@opensource.wolfsonmicro.com>
arch/arm/mach-s3c2410/include/mach/dma.h
arch/arm/mach-s3c6400/include/mach/dma.h
sound/soc/s3c24xx/s3c24xx-pcm.c