dma: mv_xor: Add support for DMA_INTERRUPT
authorLior Amsalem <alior@marvell.com>
Wed, 27 Aug 2014 13:52:55 +0000 (10:52 -0300)
committerVinod Koul <vinod.koul@intel.com>
Tue, 23 Sep 2014 14:47:01 +0000 (20:17 +0530)
commit22843545b20007ae33bc3774043303e0b44e3d65
tree9137a6256f925f8fcce6cb7bec5aafd60208025a
parent37380b980e2db2e0dfdb920140c75f3cf2e98a27
dma: mv_xor: Add support for DMA_INTERRUPT

The driver is capable of supporting DMA_INTERRUPT by issuing a dummy 128-byte
transfer. This helps removing a poll in the async_tx stack, replacing it with
a completion interrupt.

Signed-off-by: Lior Amsalem <alior@marvell.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mv_xor.c
drivers/dma/mv_xor.h