dmaengine: ioatdma: Add error handling to ioat driver
authorDave Jiang <dave.jiang@intel.com>
Wed, 20 Jul 2016 20:13:55 +0000 (13:13 -0700)
committerVinod Koul <vinod.koul@intel.com>
Mon, 8 Aug 2016 02:41:42 +0000 (08:11 +0530)
commit9546d4cdc8445acdea415f70a330bbfbd016a0f0
treedeed065e3d0e0f1d78acd80e9a0d42cc31b0a581
parentf067025bc676ba8d18fba5f959598339e39b86db
dmaengine: ioatdma: Add error handling to ioat driver

Adding error handling to the ioatdma driver so that when a
read/write error occurs the error results are reported back and
all the remaining descriptors are aborted. This utilizes the new
dmaengine callback function that allows reporting of results.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ioat/dma.c
drivers/dma/ioat/registers.h