Re: [PATCH net-next] r8169: remove not needed call to dma_sync_single_for_device

2019-06-29 Thread David Miller
From: Heiner Kallweit Date: Thu, 27 Jun 2019 23:19:09 +0200 > DMA_API_HOWTO.txt includes an example explaining when > dma_sync_single_for_device() is not needed, and that example matches > our use case. The buffer isn't changed by the CPU and direction is > DMA_FROM_DEVICE, so we can remove the c

[PATCH net-next] r8169: remove not needed call to dma_sync_single_for_device

2019-06-27 Thread Heiner Kallweit
DMA_API_HOWTO.txt includes an example explaining when dma_sync_single_for_device() is not needed, and that example matches our use case. The buffer isn't changed by the CPU and direction is DMA_FROM_DEVICE, so we can remove the call to dma_sync_single_for_device(). Signed-off-by: Heiner Kallweit