dmaengine: qcom_hidma: report transfer errors with new interface
authorSinan Kaya <okaya@codeaurora.org>
Wed, 31 Aug 2016 15:10:28 +0000 (11:10 -0400)
committerVinod Koul <vinod.koul@intel.com>
Wed, 31 Aug 2016 15:57:32 +0000 (21:27 +0530)
commit55c370e5198e8cf28b1529299e9c1bfe237c9c1e
tree8097b01a52958ab06e950e69eae052d2f8859a7a
parent8a31f8b5db65b860fd0d358dc27f6daf26074406
dmaengine: qcom_hidma: report transfer errors with new interface

Pass the DMA errors to the client by passing a result argument. The HW only
supports a generic error when something goes wrong. That's why, using
DMA_TRANS_ABORTED all the time.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/qcom/hidma.c