OSDN Git Service

dmaengine: use DMA_COMPLETE for dma completion status
authorVinod Koul <vinod.koul@intel.com>
Wed, 16 Oct 2013 07:59:02 +0000 (13:29 +0530)
committerVinod Koul <vinod.koul@intel.com>
Fri, 25 Oct 2013 05:45:38 +0000 (11:15 +0530)
commitadfedd9a32e4e3490c0060576fd824881572b72a
tree83c422afd052ce038ed32d766e11ddbc690a0209
parente98b3cafe5f048be40ff6acb18dfa7c9a0e9423e
dmaengine: use DMA_COMPLETE for dma completion status

the DMA_SUCCESS is a misnomer as dmaengine indicates the transfer is complete and
gives no guarantee of the transfer success. Hence we should use DMA_COMPLTE
instead of DMA_SUCCESS

Acked-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmaengine.c
include/linux/dmaengine.h