Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b9d1902cd281d9b829fb3d6ee9148d28c8c63382
Commit:     b9d1902cd281d9b829fb3d6ee9148d28c8c63382
Parent:     c6428464894889e110418928e6b37dc2eb4cee56
Author:     Ben Dooks <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 29 00:11:29 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Mon Jan 29 10:09:17 2007 +0000

    [ARM] 4117/1: S3C2412: Fix writel() usage in selection code
    
    The S3C2412 DMA selection code has the
    arguments to writel() the wrong way around.
    
    Signed-off-by: Ben Dooks <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 arch/arm/mach-s3c2410/s3c2412-dma.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-s3c2410/s3c2412-dma.c 
b/arch/arm/mach-s3c2410/s3c2412-dma.c
index fe71a8f..138f726 100644
--- a/arch/arm/mach-s3c2410/s3c2412-dma.c
+++ b/arch/arm/mach-s3c2410/s3c2412-dma.c
@@ -133,8 +133,8 @@ static struct s3c24xx_dma_map __initdata 
s3c2412_dma_mappings[] = {
 static void s3c2412_dma_select(struct s3c2410_dma_chan *chan,
                               struct s3c24xx_dma_map *map)
 {
-       writel(chan->regs + S3C2412_DMA_DMAREQSEL,
-              map->channels[0] | S3C2412_DMAREQSEL_HW);
+       writel(map->channels[0] | S3C2412_DMAREQSEL_HW,
+              chan->regs + S3C2412_DMA_DMAREQSEL);
 }
 
 static struct s3c24xx_dma_selection __initdata s3c2412_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