dmaengine: pl330: fix the pl330 build after cookie cleanup
authorVinod Koul <vinod.koul@linux.intel.com>
Tue, 13 Mar 2012 06:26:44 +0000 (11:56 +0530)
committerVinod Koul <vinod.koul@linux.intel.com>
Tue, 13 Mar 2012 06:26:44 +0000 (11:56 +0530)
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: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/pl330.c

index 7d6d7b416f6884aee13e9f4de13a5e2fde0c1da0..0bb332c1ccb01f1ed82a9d9aabd2922f9847431a 100644 (file)
@@ -339,7 +339,6 @@ static int pl330_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd, unsigned
                /* Mark all desc done */
                list_for_each_entry_safe(desc, _dt, &pch->work_list , node) {
                        desc->status = DONE;
-                       pch->completed = desc->txd.cookie;
                        list_move_tail(&desc->node, &list);
                }