diff options
author | Jonas Jensen <jonas.jensen@gmail.com> | 2014-08-25 14:22:32 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-26 00:25:39 (GMT) |
commit | 777fbc31447f111a1492c90fae2bc616f836d407 (patch) | |
tree | 46267cecb890c639fc2e690517a6d9388a01e075 /drivers/parisc | |
parent | 9fe1b3bc8d9182e950a744e4a47187420efa67f3 (diff) | |
download | linux-777fbc31447f111a1492c90fae2bc616f836d407.tar.xz |
net: moxa: synchronize DMA memory
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/parisc')
0 files changed, 0 insertions, 0 deletions