dmanengine: fix edma driver to not define DMA_COMPLETE
edma header defines DMA_COMPLETE, this causes issues as commit adfedd9a32
move
DMA_SUCCESS to DMA_COMPLETE. edma should properly namespace its defines and
needs a future fix
Reported-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
这个提交包含在:
@@ -404,7 +404,7 @@ static irqreturn_t dma_irq_handler(int irq, void *data)
|
||||
BIT(slot));
|
||||
if (edma_cc[ctlr]->intr_data[channel].callback)
|
||||
edma_cc[ctlr]->intr_data[channel].callback(
|
||||
channel, DMA_COMPLETE,
|
||||
channel, EDMA_DMA_COMPLETE,
|
||||
edma_cc[ctlr]->intr_data[channel].data);
|
||||
}
|
||||
} while (sh_ipr);
|
||||
@@ -459,7 +459,7 @@ static irqreturn_t dma_ccerr_handler(int irq, void *data)
|
||||
callback) {
|
||||
edma_cc[ctlr]->intr_data[k].
|
||||
callback(k,
|
||||
DMA_CC_ERROR,
|
||||
EDMA_DMA_CC_ERROR,
|
||||
edma_cc[ctlr]->intr_data
|
||||
[k].data);
|
||||
}
|
||||
|
在新工单中引用
屏蔽一个用户