summary refs log tree commit diff
path: root/drivers/atm
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2015-03-22 00:51:08 +0100
committerVinod Koul <vinod.koul@intel.com>2015-04-01 09:10:22 +0530
commitde6b641e2d23d116dcf6b6a67e2ee4856e3c3026 (patch)
treeec8c6223fbf063143b99331166cdc34b0d088842 /drivers/atm
parent8adc53fdc9721ef6f71fbaad07c486abdc4c8f60 (diff)
downloadlinux-de6b641e2d23d116dcf6b6a67e2ee4856e3c3026.tar.gz
dmaengine: ste_dma40: fix implicit conversion
The function d40_prep_sg takes the type enum dma_transfer_direction
as second last parameter. However, the memcpy calls pass DMA_NONE
which is of type enum dma_data_direction. Fix this by passing the
actual transfer direction DMA_MEM_TO_MEM.

This does not change the actual code flow since only the transfer
direction DMA_MEM_TO_DEV and DMA_DEV_TO_MEM are actually used in the
function d40_prep_sg.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions