From 7f1bc26e7df85957bcc48442f135e7a6f85e5edc Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Tue, 17 Apr 2007 12:35:18 +0200 Subject: [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 Signed-off-by: Liam Girdwood Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- sound/soc/s3c24xx/s3c24xx-pcm.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sound/soc/s3c24xx/s3c24xx-pcm.h') diff --git a/sound/soc/s3c24xx/s3c24xx-pcm.h b/sound/soc/s3c24xx/s3c24xx-pcm.h index 5dced4ab193..0088c79822e 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; -- cgit v1.2.3