dmaengine: ioat: don't use DMA_ERROR_CODE
authorChristoph Hellwig <hch@lst.de>
Sun, 21 May 2017 10:54:31 +0000 (12:54 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 20 Jun 2017 09:12:56 +0000 (11:12 +0200)
commite4734b3f5ffc42d821a316383222d71dce7d5c9e
treee446a32f8830b2a1c0749c01997b7af21a89d4c8
parentd43732ce021f4244a4c53a45d57ad0c13c30ed94
dmaengine: ioat: don't use DMA_ERROR_CODE

DMA_ERROR_CODE is not a public API and will go away.  Instead properly
unwind based on the loop counter.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ioat/init.c