Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=dad8d6c50e08ce2ef87f294fa412351b27d5bb97
Commit:     dad8d6c50e08ce2ef87f294fa412351b27d5bb97
Parent:     0c6022d453ecebdace0ce15434c7108e158149ca
Author:     Ben Dooks <[EMAIL PROTECTED]>
AuthorDate: Tue Feb 13 13:12:16 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Wed Feb 14 15:04:25 2007 +0000

    [ARM] 4178/1: S3C2410: DMA ordering list
    
    Add DMA ordering list for S3C2410
    
    Signed-off-by: Ben Dooks <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 arch/arm/mach-s3c2410/dma.c |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-s3c2410/dma.c b/arch/arm/mach-s3c2410/dma.c
index 22c6136..6b34526 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 = {
        .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);
 }
 
-
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