Skip to content

Commit

Permalink
[ALSA] ASoC Samsung S3C24xx updates - i2s
Browse files Browse the repository at this point in the history
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 <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>
  • Loading branch information
Graeme Gregory authored and Jaroslav Kysela committed May 11, 2007
1 parent 7f1bc26 commit e81208f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sound/soc/s3c24xx/s3c24xx-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 2 additions & 0 deletions sound/soc/s3c24xx/s3c24xx-i2s.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@

u32 s3c24xx_i2s_get_clockrate(void);

extern struct snd_soc_cpu_dai s3c24xx_i2s_dai;

#endif /*S3C24XXI2S_H_*/

0 comments on commit e81208f

Please sign in to comment.