diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-05-25 09:37:56 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-07-01 09:15:35 -0400 |
commit | 92d2fd619d143b9559c1d6bca10162da4c1c2d34 (patch) | |
tree | 0154d6bb1896f7f46a94808c4fb4de2832c7cfce /drivers | |
parent | b843441a4c13281823cbd06128b0265fc80f985c (diff) |
dmaengine: PL08x: fix missed dma_transfer_direction fixup
db8196df4 (dmaengine: move drivers to dma_transfer_direction) missed
fixing up the "DMA_NONE" case.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/amba-pl08x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index 5586d9ac4e78..f3ab004509ba 100644 --- a/drivers/dma/amba-pl08x.c +++ b/drivers/dma/amba-pl08x.c | |||
@@ -1287,7 +1287,7 @@ static struct dma_async_tx_descriptor *pl08x_prep_dma_memcpy( | |||
1287 | } | 1287 | } |
1288 | list_add_tail(&dsg->node, &txd->dsg_list); | 1288 | list_add_tail(&dsg->node, &txd->dsg_list); |
1289 | 1289 | ||
1290 | txd->direction = DMA_NONE; | 1290 | txd->direction = DMA_MEM_TO_MEM; |
1291 | dsg->src_addr = src; | 1291 | dsg->src_addr = src; |
1292 | dsg->dst_addr = dest; | 1292 | dsg->dst_addr = dest; |
1293 | dsg->len = len; | 1293 | dsg->len = len; |