commit | c3fdefc2d79e38d20e955d2d3ad48261d99c2936 | [log] [tgz] |
---|---|---|
author | Radu Pirea <radu_nicolae.pirea@upb.ro> | Sun May 05 21:06:46 2019 +0300 |
committer | Mark Brown <broonie@kernel.org> | Wed May 08 17:45:26 2019 +0900 |
tree | 1a8ed609a597a247338c5e9ab60e77af0c09a084 | |
parent | f7b99e5948e6be8b850eecbb2de1986d26a76b36 [diff] |
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: Radu Pirea <radu_nicolae.pirea@upb.ro> Signed-off-by: Mark Brown <broonie@kernel.org>