diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/linux/linux-smdk2443/0036-Move-s3c24xx_i2s_dai-and-add-dma_size.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/linux/linux-smdk2443/0036-Move-s3c24xx_i2s_dai-and-add-dma_size.patch')
-rw-r--r-- | recipes/linux/linux-smdk2443/0036-Move-s3c24xx_i2s_dai-and-add-dma_size.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/recipes/linux/linux-smdk2443/0036-Move-s3c24xx_i2s_dai-and-add-dma_size.patch b/recipes/linux/linux-smdk2443/0036-Move-s3c24xx_i2s_dai-and-add-dma_size.patch new file mode 100644 index 0000000000..3b013db336 --- /dev/null +++ b/recipes/linux/linux-smdk2443/0036-Move-s3c24xx_i2s_dai-and-add-dma_size.patch @@ -0,0 +1,48 @@ +From 129287fa3ed3c4caf14e9d9f70bec2f3a42ea00d Mon Sep 17 00:00:00 2001 +From: Graeme Gregory <gg@a10082.wolfsonmicro.main> +Date: Mon, 26 Mar 2007 15:31:30 +0100 +Subject: [PATCH] Move s3c24xx_i2s_dai and add dma_size + +move s3c24xx_i2s_dai from pcm.h to i2s.h where it should be + +add a dma_size parameter to the dma params as I2S and AC97 use different +writing widths to the FIFO. + +Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com> +--- + sound/soc/s3c24xx/s3c24xx-i2s.h | 2 ++ + sound/soc/s3c24xx/s3c24xx-pcm.h | 3 +-- + 2 files changed, 3 insertions(+), 2 deletions(-) + +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_*/ +diff --git a/sound/soc/s3c24xx/s3c24xx-pcm.h b/sound/soc/s3c24xx/s3c24xx-pcm.h +index 5dced4a..5619fdc 100644 +--- a/sound/soc/s3c24xx/s3c24xx-pcm.h ++++ b/sound/soc/s3c24xx/s3c24xx-pcm.h +@@ -19,12 +19,11 @@ struct s3c24xx_pcm_dma_params { + 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; +-- +1.5.0.3 + |