Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48941
b: refs/heads/master
c: dad8d6c
h: refs/heads/master
i:
  48939: 211d8db
v: v3
  • Loading branch information
Ben Dooks authored and Russell King committed Feb 14, 2007
1 parent 6aa7d64 commit c908da3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c6022d453ecebdace0ce15434c7108e158149ca
refs/heads/master: dad8d6c50e08ce2ef87f294fa412351b27d5bb97
19 changes: 19 additions & 0 deletions trunk/arch/arm/mach-s3c2410/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,27 @@ static struct s3c24xx_dma_selection __initdata s3c2410_dma_sel = {
.map_size = ARRAY_SIZE(s3c2410_dma_mappings),
};

static struct s3c24xx_dma_order __initdata s3c2410_dma_order = {
.channels = {
[DMACH_SDI] = {
.list = {
[0] = 3 | DMA_CH_VALID,
[1] = 2 | DMA_CH_VALID,
[2] = 0 | DMA_CH_VALID,
},
},
[DMACH_I2S_IN] = {
.list = {
[0] = 1 | DMA_CH_VALID,
[1] = 2 | DMA_CH_VALID,
},
},
},
};

static int s3c2410_dma_add(struct sys_device *sysdev)
{
s3c24xx_dma_order_set(&s3c2410_dma_order);
return s3c24xx_dma_init_map(&s3c2410_dma_sel);
}

Expand Down

0 comments on commit c908da3

Please sign in to comment.