Commit 8867bd50 authored by Vinod Koul's avatar Vinod Koul

dmaengine: pl330: fix the pl330 build after cookie cleanup

drivers/dma/pl330.c: In function 'pl330_control':
drivers/dma/pl330.c:342: error: 'struct dma_pl330_chan' has no member named
'completed'

Reported by: Jassi Brar <jassisinghbrar@gmail.com>
Suggested by: Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@linux.intel.com>
parent 8ac69546
...@@ -339,7 +339,6 @@ static int pl330_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd, unsigned ...@@ -339,7 +339,6 @@ static int pl330_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd, unsigned
/* Mark all desc done */ /* Mark all desc done */
list_for_each_entry_safe(desc, _dt, &pch->work_list , node) { list_for_each_entry_safe(desc, _dt, &pch->work_list , node) {
desc->status = DONE; desc->status = DONE;
pch->completed = desc->txd.cookie;
list_move_tail(&desc->node, &list); list_move_tail(&desc->node, &list);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment