17 Aug
2014
17 Aug
'14
2:34 p.m.
On Sun, Aug 17, 2014 at 04:18:20PM +0200, Lars-Peter Clausen wrote:
dmaengine_prep_slave_single() expects a enum dma_transfer_direction and not a enum dma_data_direction. Since the integer representations of both DMA_TO_DEVICE and DMA_MEM_TO_DEV aswell as DMA_FROM_DEVICE and DMA_DEV_TO_MEM have the same value the code worked fine even though it was using the wrong type.
Applied, thanks.