ioat: add missing DMA unmap to ioat_dma_self_test()
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 5 Nov 2012 10:00:13 +0000 (10:00 +0000)
committerVinod Koul <vinod.koul@intel.com>
Tue, 8 Jan 2013 06:04:58 +0000 (22:04 -0800)
commit522d974451743abcf674cbebd7c29d44fbd63586
tree0d0d6340a7ae7739132cbb916804118943d226a0
parent35fa4dbc8c877c69144736cfe144a95a1e7ccc1a
ioat: add missing DMA unmap to ioat_dma_self_test()

Make ioat_dma_self_test() do DMA unmapping itself and fix handling
of failure cases.

Cc: Dan Williams <djbw@fb.com>
Cc: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Dan Williams <djbw@fb.com>
drivers/dma/ioat/dma.c