Skip to content
Unverified Commit c3fdefc2 authored by Radu Pirea's avatar Radu Pirea Committed by Mark Brown
Browse files

spi: at91-usart: add DMA support



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.

Signed-off-by: default avatarRadu Pirea <radu_nicolae.pirea@upb.ro>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f7b99e59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment