dmaengine: qcom_hidma: break completion processing on error
authorSinan Kaya <okaya@codeaurora.org>
Fri, 7 Oct 2016 05:25:14 +0000 (01:25 -0400)
committerVinod Koul <vinod.koul@intel.com>
Wed, 19 Oct 2016 13:33:06 +0000 (19:03 +0530)
commitfc737969f645c1cbb1d167604eb7082fe18809c4
tree4955b608d42fc7019ee3168c605d9db8030fd958
parentd3eab504d44803147d94de8f8e1baf3f6f5645f1
dmaengine: qcom_hidma: break completion processing on error

We try to consume as much successful transfers as possible. Now that we
support MSI interrupts, an error interrupt might be observed by another
processor while we are finishing the successful ones.

Try to abort successful processing if this is the case.

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