aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2011-01-03 17:40:13 -0500
committerDan Williams <dan.j.williams@intel.com>2011-01-04 22:16:12 -0500
commit70b5ed6b6d72cd8b1a3d4b7b878a0dd132bec7ba (patch)
tree07f37758bcc4f7f44ba9b5f0f04190fd7e38a64a /include
parent09b3c323332206aaadfb7aa13efffa82e7719b35 (diff)
ARM: PL08x: move default cctl into txd structure
Rather than modifying platform data while preparing a transfer, copy the cctl value into the txd structure and modify the value there. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@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 8e74cb1845dd..8d9083067d3d 100644
--- a/include/linux/amba/pl08x.h
+++ b/include/linux/amba/pl08x.h
@@ -110,8 +110,9 @@ struct pl08x_txd {
110 size_t len; 110 size_t len;
111 dma_addr_t llis_bus; 111 dma_addr_t llis_bus;
112 void *llis_va; 112 void *llis_va;
113 struct pl08x_channel_data *cd;
114 bool active; 113 bool active;
114 /* Default cctl value for LLIs */
115 u32 cctl;
115 /* 116 /*
116 * Settings to be put into the physical channel when we 117 * Settings to be put into the physical channel when we
117 * trigger this txd. Other registers are in llis_va[0]. 118 * trigger this txd. Other registers are in llis_va[0].