summaryrefslogtreecommitdiffstats
path: root/include/linux/amba
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2011-01-03 22:40:13 +0000
committerDan Williams <dan.j.williams@intel.com>2011-01-04 19:16:12 -0800
commit70b5ed6b6d72cd8b1a3d4b7b878a0dd132bec7ba (patch)
tree07f37758bcc4f7f44ba9b5f0f04190fd7e38a64a /include/linux/amba
parent09b3c323332206aaadfb7aa13efffa82e7719b35 (diff)
downloadop-kernel-dev-70b5ed6b6d72cd8b1a3d4b7b878a0dd132bec7ba.zip
op-kernel-dev-70b5ed6b6d72cd8b1a3d4b7b878a0dd132bec7ba.tar.gz
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/linux/amba')
-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 8e74cb1..8d90830 100644
--- a/include/linux/amba/pl08x.h
+++ b/include/linux/amba/pl08x.h
@@ -110,8 +110,9 @@ struct pl08x_txd {
size_t len;
dma_addr_t llis_bus;
void *llis_va;
- struct pl08x_channel_data *cd;
bool active;
+ /* Default cctl value for LLIs */
+ u32 cctl;
/*
* Settings to be put into the physical channel when we
* trigger this txd. Other registers are in llis_va[0].
OpenPOWER on IntegriCloud