dmaengine: add new enum dma_transfer_direction
authorVinod Koul <vinod.koul@linux.intel.com>
Thu, 13 Oct 2011 09:45:27 +0000 (14:45 +0530)
committerVinod Koul <vinod.koul@linux.intel.com>
Thu, 27 Oct 2011 15:23:06 +0000 (20:23 +0530)
commit49920bc66984a512f4bcc7735a61642cd0e4d6f2
treed695d94f6c07a2d55fa5eb18cbad89fdbd572b92
parent4598fc2c94b68740e0269db03c98a1e7ad5af773
dmaengine: add new enum dma_transfer_direction

This new enum removes usage of dma_data_direction for dma direction. The new
enum cleans tells the DMA direction and mode
This further paves way for merging the dmaengine _prep operations and also for
interleaved dma

Suggested-by: Jassi Brar <jaswinder.singh@linaro.org>
Reviewed-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
include/linux/dmaengine.h