Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e81208fe5881b700cfb25db1ecb769ecbfff40cc
Commit:     e81208fe5881b700cfb25db1ecb769ecbfff40cc
Parent:     7f1bc26e7df85957bcc48442f135e7a6f85e5edc
Author:     Graeme Gregory <[EMAIL PROTECTED]>
AuthorDate: Tue Apr 17 12:35:48 2007 +0200
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Fri May 11 16:56:03 2007 +0200

    [ALSA] ASoC Samsung S3C24xx updates - i2s
    
    This patch adds DMA size fields to the S3C24xx audio DMA params and
    exports the S3C24xx I2S digital audio interface.
    
    Signed-off-by: Graeme Gregory <[EMAIL PROTECTED]>
    Signed-off-by: Liam Girdwood <[EMAIL PROTECTED]>
    Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 sound/soc/s3c24xx/s3c24xx-i2s.c |    6 ++++--
 sound/soc/s3c24xx/s3c24xx-i2s.h |    2 ++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sound/soc/s3c24xx/s3c24xx-i2s.c b/sound/soc/s3c24xx/s3c24xx-i2s.c
index df655a5..8ca314d 100644
--- a/sound/soc/s3c24xx/s3c24xx-i2s.c
+++ b/sound/soc/s3c24xx/s3c24xx-i2s.c
@@ -61,13 +61,15 @@ static struct s3c2410_dma_client s3c24xx_dma_client_in = {
 static struct s3c24xx_pcm_dma_params s3c24xx_i2s_pcm_stereo_out = {
        .client         = &s3c24xx_dma_client_out,
        .channel        = DMACH_I2S_OUT,
-       .dma_addr       = S3C2410_PA_IIS + S3C2410_IISFIFO
+       .dma_addr       = S3C2410_PA_IIS + S3C2410_IISFIFO,
+       .dma_size       = 2,
 };
 
 static struct s3c24xx_pcm_dma_params s3c24xx_i2s_pcm_stereo_in = {
        .client         = &s3c24xx_dma_client_in,
        .channel        = DMACH_I2S_IN,
-       .dma_addr       = S3C2410_PA_IIS + S3C2410_IISFIFO
+       .dma_addr       = S3C2410_PA_IIS + S3C2410_IISFIFO,
+       .dma_size       = 2,
 };
 
 struct s3c24xx_i2s_info {
diff --git a/sound/soc/s3c24xx/s3c24xx-i2s.h b/sound/soc/s3c24xx/s3c24xx-i2s.h
index f9ca04e..537b4ec 100644
--- a/sound/soc/s3c24xx/s3c24xx-i2s.h
+++ b/sound/soc/s3c24xx/s3c24xx-i2s.h
@@ -32,4 +32,6 @@
 
 u32 s3c24xx_i2s_get_clockrate(void);
 
+extern struct snd_soc_cpu_dai s3c24xx_i2s_dai;
+
 #endif /*S3C24XXI2S_H_*/
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to