diff options
Diffstat (limited to 'arch/arm/mach-s3c24xx/dma-s3c2443.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/dma-s3c2443.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/dma-s3c2443.c b/arch/arm/mach-s3c24xx/dma-s3c2443.c index 5fe3539dc2b5..95b9f759fe97 100644 --- a/arch/arm/mach-s3c24xx/dma-s3c2443.c +++ b/arch/arm/mach-s3c24xx/dma-s3c2443.c | |||
@@ -128,7 +128,8 @@ static struct s3c24xx_dma_map __initdata s3c2443_dma_mappings[] = { | |||
128 | static void s3c2443_dma_select(struct s3c2410_dma_chan *chan, | 128 | static void s3c2443_dma_select(struct s3c2410_dma_chan *chan, |
129 | struct s3c24xx_dma_map *map) | 129 | struct s3c24xx_dma_map *map) |
130 | { | 130 | { |
131 | writel(map->channels[0] | S3C2443_DMAREQSEL_HW, | 131 | unsigned long chsel = map->channels[0] & (~DMA_CH_VALID); |
132 | writel(chsel | S3C2443_DMAREQSEL_HW, | ||
132 | chan->regs + S3C2443_DMA_DMAREQSEL); | 133 | chan->regs + S3C2443_DMA_DMAREQSEL); |
133 | } | 134 | } |
134 | 135 | ||