aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/s3c24xx/s3c24xx-pcm.h
diff options
context:
space:
mode:
authorGraeme Gregory <gg@opensource.wolfsonmicro.com>2007-04-17 06:35:18 -0400
committerJaroslav Kysela <perex@suse.cz>2007-05-11 10:56:03 -0400
commit7f1bc26e7df85957bcc48442f135e7a6f85e5edc (patch)
tree0a422afba5ff1b99e6960d95bcf98845c71d4a40 /sound/soc/s3c24xx/s3c24xx-pcm.h
parentc45e20eb214648014d2df54ddb9f8665b231629f (diff)
[ALSA] ASoC Samsung S3c24xx updates - audio DMA cleanup
This patch cleans up the audio DMA for the Samsung S3C24xx platform. Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/soc/s3c24xx/s3c24xx-pcm.h')
-rw-r--r--sound/soc/s3c24xx/s3c24xx-pcm.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sound/soc/s3c24xx/s3c24xx-pcm.h b/sound/soc/s3c24xx/s3c24xx-pcm.h
index 5dced4ab1932..0088c79822ea 100644
--- a/sound/soc/s3c24xx/s3c24xx-pcm.h
+++ b/sound/soc/s3c24xx/s3c24xx-pcm.h
@@ -16,15 +16,14 @@
16#define ST_OPENED (1<<1) 16#define ST_OPENED (1<<1)
17 17
18struct s3c24xx_pcm_dma_params { 18struct s3c24xx_pcm_dma_params {
19 struct s3c2410_dma_client *client; /* stream identifier */ 19 struct s3c2410_dma_client *client; /* stream identifier */
20 int channel; /* Channel ID */ 20 int channel; /* Channel ID */
21 dma_addr_t dma_addr; 21 dma_addr_t dma_addr;
22 int dma_size; /* Size of the DMA transfer */
22}; 23};
23 24
24#define S3C24XX_DAI_I2S 0 25#define S3C24XX_DAI_I2S 0
25 26
26extern struct snd_soc_cpu_dai s3c24xx_i2s_dai;
27
28/* platform data */ 27/* platform data */
29extern struct snd_soc_platform s3c24xx_soc_platform; 28extern struct snd_soc_platform s3c24xx_soc_platform;
30extern struct snd_ac97_bus_ops s3c24xx_ac97_ops; 29extern struct snd_ac97_bus_ops s3c24xx_ac97_ops;