Re: [PATCH 3/3] spi: at91-usart: add DMA support

2018-11-23 Thread Radu Nicolae Pirea
On Wed, 2018-11-21 at 17:38 +, Robin Murphy wrote: > On 21/11/2018 11:27, Radu Pirea wrote: > > This patch adds support for DMA. Transfers are done with dma only > > if > > they are longer than 16 bytes in order to achieve a better > > performance. > > DMA setup introduces a little overhead and

Re: [PATCH 3/3] spi: at91-usart: add DMA support

2018-11-21 Thread Robin Murphy
On 21/11/2018 11:27, Radu Pirea wrote: This patch adds support for DMA. Transfers are done with dma only if they are longer than 16 bytes in order to achieve a better performance. DMA setup introduces a little overhead and for transfers shorter than 16 bytes there is no performance improvement.