diff options
| author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2011-07-21 12:12:47 -0400 |
|---|---|---|
| committer | Vinod Koul <vinod.koul@intel.com> | 2011-07-26 06:03:28 -0400 |
| commit | f14c426c723634d223344ad820997d92a3e355b6 (patch) | |
| tree | 99ce25418d727c42e9db8169ae326ee685c71702 /include/linux/amba | |
| parent | b207b4d02beb06059478339bbe4672ba715605d6 (diff) | |
DMA: PL08x: separately store source/destination cctl
Store the source/destination cctl values 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/linux/amba')
| -rw-r--r-- | include/linux/amba/pl08x.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/amba/pl08x.h b/include/linux/amba/pl08x.h index 072ab28bbb57..47cfe31e5c35 100644 --- a/include/linux/amba/pl08x.h +++ b/include/linux/amba/pl08x.h | |||
| @@ -175,6 +175,8 @@ struct pl08x_dma_chan { | |||
| 175 | struct pl08x_channel_data *cd; | 175 | struct pl08x_channel_data *cd; |
| 176 | dma_addr_t src_addr; | 176 | dma_addr_t src_addr; |
| 177 | dma_addr_t dst_addr; | 177 | dma_addr_t dst_addr; |
| 178 | u32 src_cctl; | ||
| 179 | u32 dst_cctl; | ||
| 178 | enum dma_data_direction runtime_direction; | 180 | enum dma_data_direction runtime_direction; |
| 179 | dma_cookie_t lc; | 181 | dma_cookie_t lc; |
| 180 | struct list_head pend_list; | 182 | struct list_head pend_list; |
