aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/s3c24xx/s3c24xx-pcm.h
diff options
context:
space:
mode:
authorGraeme Gregory <gg@opensource.wolfsonmicro.com>2007-04-17 12:35:18 +0200
committerJaroslav Kysela <perex@suse.cz>2007-05-11 16:56:03 +0200
commit7f1bc26e7df85957bcc48442f135e7a6f85e5edc (patch)
tree0a422afba5ff1b99e6960d95bcf98845c71d4a40 /sound/soc/s3c24xx/s3c24xx-pcm.h
parentc45e20eb214648014d2df54ddb9f8665b231629f (diff)
downloadlinux-stericsson-7f1bc26e7df85957bcc48442f135e7a6f85e5edc.tar.gz
[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 @@
#define ST_OPENED (1<<1)
struct s3c24xx_pcm_dma_params {
- struct s3c2410_dma_client *client; /* stream identifier */
- int channel; /* Channel ID */
+ struct s3c2410_dma_client *client; /* stream identifier */
+ int channel; /* Channel ID */
dma_addr_t dma_addr;
+ int dma_size; /* Size of the DMA transfer */
};
#define S3C24XX_DAI_I2S 0
-extern struct snd_soc_cpu_dai s3c24xx_i2s_dai;
-
/* platform data */
extern struct snd_soc_platform s3c24xx_soc_platform;
extern struct snd_ac97_bus_ops s3c24xx_ac97_ops;