aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-s3c2410/dma.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/dma.c b/arch/arm/mach-s3c2410/dma.c
index 22c613600caa..6b3452680755 100644
--- a/arch/arm/mach-s3c2410/dma.c
+++ b/arch/arm/mach-s3c2410/dma.c
@@ -127,8 +127,27 @@ static struct s3c24xx_dma_selection __initdata s3c2410_dma_sel = {
127 .map_size = ARRAY_SIZE(s3c2410_dma_mappings), 127 .map_size = ARRAY_SIZE(s3c2410_dma_mappings),
128}; 128};
129 129
130static struct s3c24xx_dma_order __initdata s3c2410_dma_order = {
131 .channels = {
132 [DMACH_SDI] = {
133 .list = {
134 [0] = 3 | DMA_CH_VALID,
135 [1] = 2 | DMA_CH_VALID,
136 [2] = 0 | DMA_CH_VALID,
137 },
138 },
139 [DMACH_I2S_IN] = {
140 .list = {
141 [0] = 1 | DMA_CH_VALID,
142 [1] = 2 | DMA_CH_VALID,
143 },
144 },
145 },
146};
147
130static int s3c2410_dma_add(struct sys_device *sysdev) 148static int s3c2410_dma_add(struct sys_device *sysdev)
131{ 149{
150 s3c24xx_dma_order_set(&s3c2410_dma_order);
132 return s3c24xx_dma_init_map(&s3c2410_dma_sel); 151 return s3c24xx_dma_init_map(&s3c2410_dma_sel);
133} 152}
134 153