[PATCH v6 3/4] net: moxa: synchronize DMA memory

David Miller davem at davemloft.net
Mon Aug 25 17:26:10 PDT 2014


From: Jonas Jensen <jonas.jensen at gmail.com>
Date: Mon, 25 Aug 2014 16:22:32 +0200

> DMA memory should be synchronized before data is passed
> to/from controller.
> 
> Add dma_sync_single_for_cpu(.., DMA_FROM_DEVICE) to RX path
> and dma_sync_single_for_device(.., DMA_TO_DEVICE) to TX path.
> 
> Signed-off-by: Jonas Jensen <jonas.jensen at gmail.com>

Applied.



More information about the linux-arm-kernel mailing list