The LLI pointer in the documentation is placed into the LLI register,
so name it LLI rather than 'next'.
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>
struct pl08x_lli {
u32 src;
u32 dst;
struct pl08x_lli {
u32 src;
u32 dst;
/*
* A LLI pointer of 0 terminates the LLI list
*/
/*
* A LLI pointer of 0 terminates the LLI list
*/
- clli = llis_va[i].next;
* memory. So we don't manipulate this bit currently.
*/
* memory. So we don't manipulate this bit currently.
*/
- llis_va[num_llis].next = llis_bus + (num_llis + 1) * sizeof(struct pl08x_lli);
+ llis_va[num_llis].lli = llis_bus + (num_llis + 1) * sizeof(struct pl08x_lli);
if (cctl & PL080_CONTROL_SRC_INCR)
txd->srcbus.addr += len;
if (cctl & PL080_CONTROL_SRC_INCR)
txd->srcbus.addr += len;
/*
* The final LLI terminates the LLI.
*/
/*
* The final LLI terminates the LLI.
*/
- llis_va[num_llis - 1].next = 0;
+ llis_va[num_llis - 1].lli = 0;
/*
* The final LLI element shall also fire an interrupt
*/
/*
* The final LLI element shall also fire an interrupt
*/
/* Now store the channel register values */
txd->csrc = llis_va[0].src;
txd->cdst = llis_va[0].dst;
/* Now store the channel register values */
txd->csrc = llis_va[0].src;
txd->cdst = llis_va[0].dst;
- txd->clli = llis_va[0].next;
+ txd->clli = llis_va[0].lli;
txd->cctl = llis_va[0].cctl;
/* ccfg will be set at physical channel allocation time */
txd->cctl = llis_va[0].cctl;
/* ccfg will be set at physical channel allocation time */
llis_va[i].src,
llis_va[i].dst,
llis_va[i].cctl,
llis_va[i].src,
llis_va[i].dst,
llis_va[i].cctl,