summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2011-07-21 18:12:27 +0200
committerVinod Koul <vinod.koul@intel.com>2011-07-26 12:03:28 +0200
commitb207b4d02beb06059478339bbe4672ba715605d6 (patch)
tree3f62c4e2854d4dce26c4ff3491f1d2d47b558c87 /include
parentDMA: PL08x: clean up LLI debugging (diff)
downloadlinux-b207b4d02beb06059478339bbe4672ba715605d6.tar.xz
linux-b207b4d02beb06059478339bbe4672ba715605d6.zip
DMA: PL08x: separately store source/destination slave address
Store the source/destination slave address separately into the channel structure. This moves us towards being able to avoid a configuration call each time we use the channel. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/amba/pl08x.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/amba/pl08x.h b/include/linux/amba/pl08x.h
index 3111385b8ca7..072ab28bbb57 100644
--- a/include/linux/amba/pl08x.h
+++ b/include/linux/amba/pl08x.h
@@ -173,7 +173,8 @@ struct pl08x_dma_chan {
struct tasklet_struct tasklet;
char *name;
struct pl08x_channel_data *cd;
- dma_addr_t runtime_addr;
+ dma_addr_t src_addr;
+ dma_addr_t dst_addr;
enum dma_data_direction runtime_direction;
dma_cookie_t lc;
struct list_head pend_list;