async_tx: fix checking of dma_wait_for_async_tx() return value
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 8 Nov 2012 10:03:16 +0000 (10:03 +0000)
committerVinod Koul <vinod.koul@intel.com>
Tue, 8 Jan 2013 06:05:12 +0000 (22:05 -0800)
commit7d283397ade3c9e51de644676a6593e1f724ac00
tree8b56fa0af94d8cd8d85d6f7cd6cc4f7a451445e6
parent2cbe7feba1ac521b5668609c35b94536bbbcd52f
async_tx: fix checking of dma_wait_for_async_tx() return value

dma_wait_for_async_tx() can also return DMA_PAUSED (which
should be considered as error).

Cc: Vinod Koul <vinod.koul@intel.com>
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>
crypto/async_tx/async_tx.c