diff options
Diffstat (limited to 'arch/arm/plat-s3c64xx/dma.c')
-rw-r--r-- | arch/arm/plat-s3c64xx/dma.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/plat-s3c64xx/dma.c b/arch/arm/plat-s3c64xx/dma.c index 5a08a86419dd..a94281bb84d6 100644 --- a/arch/arm/plat-s3c64xx/dma.c +++ b/arch/arm/plat-s3c64xx/dma.c | |||
@@ -151,8 +151,6 @@ static void s3c64xx_dma_fill_lli(struct s3c2410_dma_chan *chan, | |||
151 | src = chan->dev_addr; | 151 | src = chan->dev_addr; |
152 | dst = data; | 152 | dst = data; |
153 | control0 = PL080_CONTROL_SRC_AHB2; | 153 | control0 = PL080_CONTROL_SRC_AHB2; |
154 | control0 |= (u32)chan->hw_width << PL080_CONTROL_SWIDTH_SHIFT; | ||
155 | control0 |= 2 << PL080_CONTROL_DWIDTH_SHIFT; | ||
156 | control0 |= PL080_CONTROL_DST_INCR; | 154 | control0 |= PL080_CONTROL_DST_INCR; |
157 | break; | 155 | break; |
158 | 156 | ||
@@ -160,8 +158,6 @@ static void s3c64xx_dma_fill_lli(struct s3c2410_dma_chan *chan, | |||
160 | src = data; | 158 | src = data; |
161 | dst = chan->dev_addr; | 159 | dst = chan->dev_addr; |
162 | control0 = PL080_CONTROL_DST_AHB2; | 160 | control0 = PL080_CONTROL_DST_AHB2; |
163 | control0 |= (u32)chan->hw_width << PL080_CONTROL_DWIDTH_SHIFT; | ||
164 | control0 |= 2 << PL080_CONTROL_SWIDTH_SHIFT; | ||
165 | control0 |= PL080_CONTROL_SRC_INCR; | 161 | control0 |= PL080_CONTROL_SRC_INCR; |
166 | break; | 162 | break; |
167 | default: | 163 | default: |
@@ -173,6 +169,8 @@ static void s3c64xx_dma_fill_lli(struct s3c2410_dma_chan *chan, | |||
173 | control1 = size >> chan->hw_width; /* size in no of xfers */ | 169 | control1 = size >> chan->hw_width; /* size in no of xfers */ |
174 | control0 |= PL080_CONTROL_PROT_SYS; /* always in priv. mode */ | 170 | control0 |= PL080_CONTROL_PROT_SYS; /* always in priv. mode */ |
175 | control0 |= PL080_CONTROL_TC_IRQ_EN; /* always fire IRQ */ | 171 | control0 |= PL080_CONTROL_TC_IRQ_EN; /* always fire IRQ */ |
172 | control0 |= (u32)chan->hw_width << PL080_CONTROL_DWIDTH_SHIFT; | ||
173 | control0 |= (u32)chan->hw_width << PL080_CONTROL_SWIDTH_SHIFT; | ||
176 | 174 | ||
177 | lli->src_addr = src; | 175 | lli->src_addr = src; |
178 | lli->dst_addr = dst; | 176 | lli->dst_addr = dst; |