From: Shawn Guo Date: Tue, 13 Dec 2011 15:48:03 +0000 (+0800) Subject: dmaengine: add DMA_TRANS_NONE to dma_transfer_direction X-Git-Tag: v3.3-rc1~19^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62268ce9170c5466332c046ff6ddafcb67751502;p=pandora-kernel.git dmaengine: add DMA_TRANS_NONE to dma_transfer_direction Before dma_transfer_direction was introduced to replace dma_data_direction, some dmaengine device uses DMA_NONE of dma_data_direction for some talk with its client drivers. The mxs-dma and its clients mxs-mmc and gpmi-nand are such case. This patch adds DMA_TRANS_NONE to dma_transfer_direction and migrate the DMA_NONE use in mxs-dma to it. It also fixes the compile warning below. CC drivers/dma/mxs-dma.o drivers/dma/mxs-dma.c: In function ‘mxs_dma_prep_slave_sg’: drivers/dma/mxs-dma.c:420:16: warning: comparison between ‘enum dma_transfer_direction’ and ‘enum dma_data_direction’ Signed-off-by: Shawn Guo Signed-off-by: Vinod Koul --- Reading git-diff-tree failed